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 | 83d2c54302835180d4f130d75cd69a92b2d7fd9b (patch) | |
| tree | 861e5eba3a6f3cf19861c6b267b2c4fb136fa0e7 /test | |
| parent | 5faa4cdcada0914e06d5a3329960b6b13c7d51b5 (diff) | |
| download | SCons-83d2c54302835180d4f130d75cd69a92b2d7fd9b.zip SCons-83d2c54302835180d4f130d75cd69a92b2d7fd9b.tar.gz SCons-83d2c54302835180d4f130d75cd69a92b2d7fd9b.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')) |
