From f55ea61aa49688950587546ae161f8c52544ab37 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Sat, 20 Sep 2008 14:56:28 +0000 Subject: [PATCH] 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 --- test/Execute.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 -- 2.26.2