summaryrefslogtreecommitdiffstats
path: root/test/Execute.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-09-20 14:56:28 (GMT)
committerSteven Knight <knight@baldmt.com>2008-09-20 14:56:28 (GMT)
commit296ff7216f4a124df5206fb483b02d805c8b6678 (patch)
tree5e4587968c706fd084957a3de89c150883603beb /test/Execute.py
parent1e71a52986995de529c97769091ac2bf3e6d77ae (diff)
downloadSCons-296ff7216f4a124df5206fb483b02d805c8b6678.zip
SCons-296ff7216f4a124df5206fb483b02d805c8b6678.tar.gz
SCons-296ff7216f4a124df5206fb483b02d805c8b6678.tar.bz2
Windows portability: different error message for the nonexistent file.
Diffstat (limited to 'test/Execute.py')
-rw-r--r--test/Execute.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/test/Execute.py b/test/Execute.py
index 35ee949..1ff45e8 100644
--- a/test/Execute.py
+++ b/test/Execute.py
@@ -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")
-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