From: stevenknight Date: Sat, 20 Sep 2008 14:56:28 +0000 (+0000) Subject: Windows portability: different error message for the nonexistent file. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f55ea61aa49688950587546ae161f8c52544ab37;p=scons.git Windows portability: different error message for the nonexistent file. git-svn-id: http://scons.tigris.org/svn/scons/trunk@3447 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/test/Execute.py b/test/Execute.py index 35ee949f..1ff45e8c 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