Windows portability: different error message for the nonexistent file.
authorstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 20 Sep 2008 14:56:28 +0000 (14:56 +0000)
committerstevenknight <stevenknight@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Sat, 20 Sep 2008 14:56:28 +0000 (14:56 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@3447 fdb21ef1-2011-0410-befe-b5e4ea1792b1

test/Execute.py

index 35ee949fe849a890d5703f4153c9c9059d5c527a..1ff45e8c155d5968b8f277943f882c35f54de771 100644 (file)
@@ -82,7 +82,15 @@ test.write('k.in', "k.in\n")
 test.write('l.in', "l.in\n")
 test.write('m.in', "m.in\n")
 
 test.write('l.in', "l.in\n")
 test.write('m.in', "m.in\n")
 
-expect = """\
+import sys
+if sys.platform == 'win32':
+    expect = """\
+scons: *** Error 1
+scons: *** Error 2
+scons: *** nonexistent.in/*.*: The system cannot find the path specified
+"""
+else:
+    expect = """\
 scons: *** Error 1
 scons: *** Error 2
 scons: *** nonexistent.in: No such file or directory
 scons: *** Error 1
 scons: *** Error 2
 scons: *** nonexistent.in: No such file or directory