diff options
author | Steven Knight <knight@baldmt.com> | 2004-04-04 10:40:32 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-04-04 10:40:32 (GMT) |
commit | 7c4349c483afaf1c2399025a2850d2b486c20178 (patch) | |
tree | efe6cfb4bc3433988545bf74ded85ebb6b4fc14b /test/WhereIs.py | |
parent | 3a0ca2e66fd1449d3a9b400aabe17fee0eb7f496 (diff) | |
download | SCons-7c4349c483afaf1c2399025a2850d2b486c20178.zip SCons-7c4349c483afaf1c2399025a2850d2b486c20178.tar.gz SCons-7c4349c483afaf1c2399025a2850d2b486c20178.tar.bz2 |
Add a reject argument to the env.Whereis() method. (sam th)
Diffstat (limited to 'test/WhereIs.py')
-rw-r--r-- | test/WhereIs.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/WhereIs.py b/test/WhereIs.py index 8347acc..15f4442 100644 --- a/test/WhereIs.py +++ b/test/WhereIs.py @@ -73,11 +73,14 @@ print WhereIs('xxx.exe', %s) print env.WhereIs('xxx.exe', %s) print WhereIs('xxx.exe', %s) print WhereIs('xxx.exe', %s) +print WhereIs('xxx.exe', %s, reject=%s) """ % (subdir_SConscript, repr(string.join(pathdirs_1234, os.pathsep)), repr(string.join(pathdirs_1243, os.pathsep)), repr(pathdirs_1234), repr(pathdirs_1243), + repr(pathdirs_1243), + repr(sub4_xxx_exe) )) test.write(subdir_SConscript, """ @@ -105,6 +108,7 @@ expect = [ test.workpath(sub3_xxx_exe), test.workpath(sub4_xxx_exe), test.workpath(sub3_xxx_exe), test.workpath(sub4_xxx_exe), + test.workpath(sub3_xxx_exe), ] test.run(arguments = ".", @@ -123,6 +127,7 @@ expect = [ test.workpath(sub4_xxx_exe), test.workpath(sub4_xxx_exe), test.workpath(sub3_xxx_exe), test.workpath(sub4_xxx_exe), + test.workpath(sub3_xxx_exe), ] test.run(arguments = ".", |