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 | e69debfd6d48ed158699ba814c1c23459e121a20 (patch) | |
tree | efe6cfb4bc3433988545bf74ded85ebb6b4fc14b /test/WhereIs.py | |
parent | f6bfff07364b42d404da9de529659722ec5a281d (diff) | |
download | SCons-e69debfd6d48ed158699ba814c1c23459e121a20.zip SCons-e69debfd6d48ed158699ba814c1c23459e121a20.tar.gz SCons-e69debfd6d48ed158699ba814c1c23459e121a20.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 = ".", |