diff options
author | Steven Knight <knight@baldmt.com> | 2002-10-16 04:13:14 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2002-10-16 04:13:14 (GMT) |
commit | bd91e792df09aebec78f7972e17eab873dc71246 (patch) | |
tree | 5b544223c15435fac1669b7d0f2c978483cf61fa /test/Repository/BuildDir.py | |
parent | 3f747760055842fd7ea89770cc568761d5729117 (diff) | |
download | SCons-bd91e792df09aebec78f7972e17eab873dc71246.zip SCons-bd91e792df09aebec78f7972e17eab873dc71246.tar.gz SCons-bd91e792df09aebec78f7972e17eab873dc71246.tar.bz2 |
Refactor Repository and BuildDir. (Charles Crain)
Diffstat (limited to 'test/Repository/BuildDir.py')
-rw-r--r-- | test/Repository/BuildDir.py | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/test/Repository/BuildDir.py b/test/Repository/BuildDir.py index 2d75590..905c618 100644 --- a/test/Repository/BuildDir.py +++ b/test/Repository/BuildDir.py @@ -38,8 +38,8 @@ opts = "-Y " + test.workpath('repository') # test.write(['repository', 'SConstruct'], r""" -BuildDir('build0', 'src', duplicate=0) -BuildDir('build1', 'src', duplicate=1) +BuildDir('build0', 'src') +BuildDir('build1', 'src', duplicate=0) SConscript('build0/SConscript') SConscript('build1/SConscript') """) @@ -78,9 +78,9 @@ repository/src/bbb.in repository/src/ccc.in """) -test.fail_test(os.path.exists('work1/build0/aaa.in')) -test.fail_test(os.path.exists('work1/build0/bbb.in')) -test.fail_test(os.path.exists('work1/build0/ccc.in')) +test.fail_test(not os.path.exists('work1/build0/aaa.in')) +test.fail_test(not os.path.exists('work1/build0/bbb.in')) +test.fail_test(not os.path.exists('work1/build0/ccc.in')) test.fail_test(not os.path.exists('work1/build0/aaa.mid')) test.fail_test(not os.path.exists('work1/build0/bbb.mid')) test.fail_test(not os.path.exists('work1/build0/ccc.mid')) @@ -91,9 +91,9 @@ repository/src/bbb.in repository/src/ccc.in """) -test.fail_test(not os.path.exists('work1/build1/aaa.in')) -test.fail_test(not os.path.exists('work1/build1/bbb.in')) -test.fail_test(not os.path.exists('work1/build1/ccc.in')) +test.fail_test(os.path.exists('work1/build1/aaa.in')) +test.fail_test(os.path.exists('work1/build1/bbb.in')) +test.fail_test(os.path.exists('work1/build1/ccc.in')) test.fail_test(not os.path.exists('work1/build1/aaa.mid')) test.fail_test(not os.path.exists('work1/build1/bbb.mid')) test.fail_test(not os.path.exists('work1/build1/ccc.mid')) @@ -111,9 +111,9 @@ work1/src/bbb.in repository/src/ccc.in """) -test.fail_test(os.path.exists('work1/build0/aaa.in')) -test.fail_test(os.path.exists('work1/build0/bbb.in')) -test.fail_test(os.path.exists('work1/build0/ccc.in')) +test.fail_test(not os.path.exists('work1/build0/aaa.in')) +test.fail_test(not os.path.exists('work1/build0/bbb.in')) +test.fail_test(not os.path.exists('work1/build0/ccc.in')) test.fail_test(not os.path.exists('work1/build0/aaa.mid')) test.fail_test(not os.path.exists('work1/build0/bbb.mid')) test.fail_test(not os.path.exists('work1/build0/ccc.mid')) @@ -124,9 +124,9 @@ work1/src/bbb.in repository/src/ccc.in """) -test.fail_test(not os.path.exists('work1/build1/aaa.in')) -test.fail_test(not os.path.exists('work1/build1/bbb.in')) -test.fail_test(not os.path.exists('work1/build1/ccc.in')) +test.fail_test(os.path.exists('work1/build1/aaa.in')) +test.fail_test(os.path.exists('work1/build1/bbb.in')) +test.fail_test(os.path.exists('work1/build1/ccc.in')) test.fail_test(not os.path.exists('work1/build1/aaa.mid')) test.fail_test(not os.path.exists('work1/build1/bbb.mid')) test.fail_test(not os.path.exists('work1/build1/ccc.mid')) @@ -144,9 +144,9 @@ test.writable('repository', 0) # test.run(chdir = 'work2', options = opts, arguments = '.') -test.fail_test(os.path.exists('work2/build0/aaa.in')) -test.fail_test(os.path.exists('work2/build0/bbb.in')) -test.fail_test(os.path.exists('work2/build0/ccc.in')) +test.fail_test(not os.path.exists('work2/build0/aaa.in')) +test.fail_test(not os.path.exists('work2/build0/bbb.in')) +test.fail_test(not os.path.exists('work2/build0/ccc.in')) test.fail_test(os.path.exists('work2/build0/aaa.mid')) test.fail_test(os.path.exists('work2/build0/bbb.mid')) test.fail_test(os.path.exists('work2/build0/ccc.mid')) @@ -173,9 +173,9 @@ work2/src/bbb.in repository/src/ccc.in """) -test.fail_test(os.path.exists('work2/build0/aaa.in')) -test.fail_test(os.path.exists('work2/build0/bbb.in')) -test.fail_test(os.path.exists('work2/build0/ccc.in')) +test.fail_test(not os.path.exists('work2/build0/aaa.in')) +test.fail_test(not os.path.exists('work2/build0/bbb.in')) +test.fail_test(not os.path.exists('work2/build0/ccc.in')) test.fail_test(os.path.exists('work2/build0/aaa.mid')) test.fail_test(not os.path.exists('work2/build0/bbb.mid')) test.fail_test(os.path.exists('work2/build0/ccc.mid')) @@ -187,7 +187,7 @@ repository/src/ccc.in """) test.fail_test(os.path.exists('work2/build1/aaa.in')) -test.fail_test(not os.path.exists('work2/build1/bbb.in')) +test.fail_test(os.path.exists('work2/build1/bbb.in')) test.fail_test(os.path.exists('work2/build1/ccc.in')) test.fail_test(os.path.exists('work2/build1/aaa.mid')) test.fail_test(not os.path.exists('work2/build1/bbb.mid')) |