summaryrefslogtreecommitdiff
path: root/test/Program.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-01-16 13:28:44 +0000
committerSteven Knight <knight@baldmt.com>2004-01-16 13:28:44 +0000
commit0efe8eaf133ccf1386df12436d4cca218121280c (patch)
tree1c1868f4948fcb213dfef9fe80cd9c854b27e2ec /test/Program.py
parentedae6365237dd84d049c56a0df924586e1fe5351 (diff)
downloadscons-0efe8eaf133ccf1386df12436d4cca218121280c.tar.gz
Win32 portability in test/Program.py.
Diffstat (limited to 'test/Program.py')
-rw-r--r--test/Program.py6
1 files 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 <type 'list'>, not a Node
File "SConstruct", line 3, in ?
-""")
+""" % foo_exe)
test.pass_test()