diff options
author | Russel Winder <russel@winder.org.uk> | 2015-12-24 16:32:14 +0000 |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2015-12-24 16:32:14 +0000 |
commit | 4fa680fef6dfda6650cefca0c0b26547cadd7da4 (patch) | |
tree | 7008e644357036404f0861c8ba1bbbf43b2b4123 /test/sconsign | |
parent | 0e90a47eb856b169b317492011b41550cd6a9b1a (diff) | |
parent | 7232e98a96593ff4c89b001bf63bab6328181a3c (diff) | |
download | scons-4fa680fef6dfda6650cefca0c0b26547cadd7da4.tar.gz |
Post merge commit for safety. Building Fortran code works, but tests fail.
Diffstat (limited to 'test/sconsign')
-rw-r--r-- | test/sconsign/nonwritable.py | 4 | ||||
-rw-r--r-- | test/sconsign/script/SConsignFile.py | 4 | ||||
-rw-r--r-- | test/sconsign/script/Signatures.py | 4 | ||||
-rw-r--r-- | test/sconsign/script/no-SConsignFile.py | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/test/sconsign/nonwritable.py b/test/sconsign/nonwritable.py index 913dcf16..5ae55bbc 100644 --- a/test/sconsign/nonwritable.py +++ b/test/sconsign/nonwritable.py @@ -78,7 +78,7 @@ test.write(['work1', 'foo.in'], "work1/foo.in\n") test.write(work1__sconsign_dblite, "") -os.chmod(work1__sconsign_dblite, 0444) +os.chmod(work1__sconsign_dblite, 0o444) test.run(chdir='work1', arguments='.') @@ -95,7 +95,7 @@ test.write(['work2', 'foo.in'], "work2/foo.in\n") pickle.dump({}, open(work2_sub1__sconsign, 'wb'), 1) pickle.dump({}, open(work2_sub2__sconsign, 'wb'), 1) -os.chmod(work2_sub1__sconsign, 0444) +os.chmod(work2_sub1__sconsign, 0o444) test.run(chdir='work2', arguments='.') diff --git a/test/sconsign/script/SConsignFile.py b/test/sconsign/script/SConsignFile.py index 74fb1f07..dc45cc1a 100644 --- a/test/sconsign/script/SConsignFile.py +++ b/test/sconsign/script/SConsignFile.py @@ -86,8 +86,8 @@ output.write(input.read()) sys.exit(0) """) -test.chmod(fake_cc_py, 0755) -test.chmod(fake_link_py, 0755) +test.chmod(fake_cc_py, 0o755) +test.chmod(fake_link_py, 0o755) # Note: We don't use os.path.join() representations of the file names # in the expected output because paths in the .sconsign files are diff --git a/test/sconsign/script/Signatures.py b/test/sconsign/script/Signatures.py index cfd2a7f9..5babe676 100644 --- a/test/sconsign/script/Signatures.py +++ b/test/sconsign/script/Signatures.py @@ -105,8 +105,8 @@ output.write(input.read()) sys.exit(0) """) -test.chmod(fake_cc_py, 0755) -test.chmod(fake_link_py, 0755) +test.chmod(fake_cc_py, 0o755) +test.chmod(fake_link_py, 0o755) test.write('SConstruct', """ SConsignFile(None) diff --git a/test/sconsign/script/no-SConsignFile.py b/test/sconsign/script/no-SConsignFile.py index 09ecfa28..4e9915bb 100644 --- a/test/sconsign/script/no-SConsignFile.py +++ b/test/sconsign/script/no-SConsignFile.py @@ -94,8 +94,8 @@ output.write(input.read()) sys.exit(0) """) -test.chmod(fake_cc_py, 0755) -test.chmod(fake_link_py, 0755) +test.chmod(fake_cc_py, 0o755) +test.chmod(fake_link_py, 0o755) # Note: We don't use os.path.join() representations of the file names # in the expected output because paths in the .sconsign files are |