Source

SCons / test / bad-drive.py

Diff from to

File test/bad-drive.py

 
 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',