diff options
author | Steven Knight <knight@baldmt.com> | 2004-02-24 16:03:09 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2004-02-24 16:03:09 (GMT) |
commit | b0656def14f9b2f7feff88301420c1dee99ac670 (patch) | |
tree | 3a70896872d92249d3b92d86949912e1b951d816 /test | |
parent | 4b3d35e6964da9108f1d55a8d0dbb2161300bd3f (diff) | |
download | SCons-b0656def14f9b2f7feff88301420c1dee99ac670.zip SCons-b0656def14f9b2f7feff88301420c1dee99ac670.tar.gz SCons-b0656def14f9b2f7feff88301420c1dee99ac670.tar.bz2 |
Better error message when a source file is missing.
Diffstat (limited to 'test')
-rw-r--r-- | test/Alias.py | 2 | ||||
-rw-r--r-- | test/bad-drive.py | 4 | ||||
-rw-r--r-- | test/nonexistent.py | 6 |
3 files changed, 6 insertions, 6 deletions
diff --git a/test/Alias.py b/test/Alias.py index 2a14c02..631aa30 100644 --- a/test/Alias.py +++ b/test/Alias.py @@ -171,7 +171,7 @@ env.Alias('A', 'B') """) test.run(arguments='A', - stderr="scons: \\*\\*\\* No Builder for target `D', needed by `C'. Stop.\n", + stderr="scons: \\*\\*\\* Source `D' not found, needed by target `C'. Stop.\n", status=2) test.pass_test() diff --git a/test/bad-drive.py b/test/bad-drive.py index d7a820f..612b24b 100644 --- a/test/bad-drive.py +++ b/test/bad-drive.py @@ -94,11 +94,11 @@ test.run(arguments = bad_drive + 'no_target_1', status = 2) test.run(arguments = bad_drive + 'no_target_2', - stderr = "scons: *** No Builder for target `ccc.does_not_exist', needed by `%sno_target_2'. Stop.\n" % bad_drive, + stderr = "scons: *** Source `ccc.does_not_exist' not found, needed by target `%sno_target_2'. Stop.\n" % bad_drive, status = 2) test.run(arguments = 'ddd.out', - stderr = "scons: *** No Builder for target `%sno_source', needed by `ddd.out'. Stop.\n" % bad_drive, + stderr = "scons: *** Source `%sno_source' not found, needed by target `ddd.out'. Stop.\n" % bad_drive, status = 2) test.pass_test() diff --git a/test/nonexistent.py b/test/nonexistent.py index 05dd9d0..3e47cbe 100644 --- a/test/nonexistent.py +++ b/test/nonexistent.py @@ -54,12 +54,12 @@ test.run(arguments = '-k foo/bar foo', status = 2) test.run(arguments = "aaa.out", - stderr = "scons: *** No Builder for target `aaa.in', needed by `aaa.out'. Stop.\n", + stderr = "scons: *** Source `aaa.in' not found, needed by target `aaa.out'. Stop.\n", status = 2) test.run(arguments = "-k bbb.out aaa.out", - stderr = """scons: *** No Builder for target `bbb.in', needed by `bbb.out'. -scons: *** No Builder for target `aaa.in', needed by `aaa.out'. + stderr = """scons: *** Source `bbb.in' not found, needed by target `bbb.out'. +scons: *** Source `aaa.in' not found, needed by target `aaa.out'. """, status = 2) |