From bd11b292d22d7a35bd9c0d96893d2a1333287e84 Mon Sep 17 00:00:00 2001 From: stevenknight Date: Fri, 16 Jan 2004 13:28:44 +0000 Subject: [PATCH] Win32 portability in test/Program.py. git-svn-id: http://scons.tigris.org/svn/scons/trunk@881 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- test/Program.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/Program.py b/test/Program.py index 7c0eb462..91f391ee 100644 --- a/test/Program.py +++ b/test/Program.py @@ -334,10 +334,12 @@ file2 = File('file2.c') Program('foo', [file1, [file2, 'file3.c']]) """) +foo_exe = 'foo'+_exe + test.run(status = 2, stderr = """ -scons: *** attempted to add a non-Node as source of foo: +scons: *** attempted to add a non-Node as source of %s: \t['file2.c', 'file3.c'] is a , not a Node File "SConstruct", line 3, in ? -""") +""" % foo_exe) test.pass_test() -- 2.26.2