summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2005-09-25 01:09:15 (GMT)
committerSteven Knight <knight@baldmt.com>2005-09-25 01:09:15 (GMT)
commit1c240103ecdd81e43d2bd645128bc812e6e8ab9c (patch)
tree861e5eba3a6f3cf19861c6b267b2c4fb136fa0e7 /test
parentb22750fba896988edff9a9673835b6a2d81f5335 (diff)
downloadSCons-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.py9
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'))