diff options
author | Steven Knight <knight@baldmt.com> | 2005-09-25 01:09:15 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-09-25 01:09:15 (GMT) |
commit | 1c240103ecdd81e43d2bd645128bc812e6e8ab9c (patch) | |
tree | 861e5eba3a6f3cf19861c6b267b2c4fb136fa0e7 /test | |
parent | b22750fba896988edff9a9673835b6a2d81f5335 (diff) | |
download | SCons-1c240103ecdd81e43d2bd645128bc812e6e8ab9c.zip SCons-1c240103ecdd81e43d2bd645128bc812e6e8ab9c.tar.gz SCons-1c240103ecdd81e43d2bd645128bc812e6e8ab9c.tar.bz2 |
More efficient checking for on-disk file entries.
Diffstat (limited to 'test')
-rw-r--r-- | test/symlink.py | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/symlink.py b/test/symlink.py index 889c7a0..ef7a55c 100644 --- a/test/symlink.py +++ b/test/symlink.py @@ -51,12 +51,13 @@ test.write('foo.c', """\ test.symlink('nonexistent', 'foo.h') +expect = """\ +scons: *** Source `foo.h' not found, needed by target `%s'. Stop. +"""% foo_obj + test.run(arguments = '.', status = 2, - stderr = None) - -expect = "scons: *** [%s] Error 1\n" % foo_obj -test.fail_test(string.find(test.stderr(), expect) == -1) + stderr = expect) test.write('SConstruct', """ Command('file.out', 'file.in', Copy('$TARGET', '$SOURCE')) |