diff options
author | Steven Knight <knight@baldmt.com> | 2006-02-15 05:14:30 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2006-02-15 05:14:30 (GMT) |
commit | 2708dc3927775a374fc94a6996ebe09e70705e60 (patch) | |
tree | e58962d58516f26ff0babcdb67a58435a4019f07 /test/bad-drive.py | |
parent | e7190df6b6aa89dac0370dc01ae45ff39254c221 (diff) | |
download | SCons-2708dc3927775a374fc94a6996ebe09e70705e60.zip SCons-2708dc3927775a374fc94a6996ebe09e70705e60.tar.gz SCons-2708dc3927775a374fc94a6996ebe09e70705e60.tar.bz2 |
More test portability fixes. (Baptiste Lepilleur and SK)
Diffstat (limited to 'test/bad-drive.py')
-rw-r--r-- | test/bad-drive.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/test/bad-drive.py b/test/bad-drive.py index 4c081a5..a642a7c 100644 --- a/test/bad-drive.py +++ b/test/bad-drive.py @@ -86,8 +86,14 @@ test.run(arguments = 'aaa.out') test.fail_test(test.read('aaa.out') != "aaa.in\n") +# This next test used to provide a slightly different error message: +# "scons: *** Do not know how to make target `%snot_mentioned'. Stop.\n" +# Right now, it doesn't seem important enough to track down exactly +# why this changed and fix it, but we'll preserve it here in case it +# becomes an issue or some refactoring restores the old behavior. + test.run(arguments = bad_drive + 'not_mentioned', - stderr = "scons: *** Do not know how to make target `%snot_mentioned'. Stop.\n" % (bad_drive,), + stderr = "scons: *** No drive `%s' for target `%snot_mentioned'. Stop.\n" % (bad_drive, bad_drive), status = 2) test.run(arguments = bad_drive + 'no_target_1', |