summaryrefslogtreecommitdiffstats
path: root/test/Exit.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-05 20:00:20 (GMT)
committerSteven Knight <knight@baldmt.com>2004-08-05 20:00:20 (GMT)
commitb7dc7fc461b3a9170b14d8a026d69c0a28c2883d (patch)
treef96bca18fdb063488c45f340ecf9a8d02902071f /test/Exit.py
parent5a33f7f18934e378efaae41fbc28ae5c6f75e610 (diff)
downloadSCons-b7dc7fc461b3a9170b14d8a026d69c0a28c2883d.zip
SCons-b7dc7fc461b3a9170b14d8a026d69c0a28c2883d.tar.gz
SCons-b7dc7fc461b3a9170b14d8a026d69c0a28c2883d.tar.bz2
Return lists of Nodes from all builders, not single Nodes when there's only one.
Diffstat (limited to 'test/Exit.py')
-rw-r--r--test/Exit.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Exit.py b/test/Exit.py
index 42ae777..570b6db 100644
--- a/test/Exit.py
+++ b/test/Exit.py
@@ -118,13 +118,13 @@ test.write(['subdir', 'foo.in'], "subdir/foo.in\n")
test.run(status = 27,
stdout = test.wrap_stdout("""\
-exit_builder("%s", "%s")
+exit_builder(["%s"], ["%s"])
""" % (subdir_foo_out, subdir_foo_in), error=1),
stderr = """\
scons: *** [%s] Explicit exit, status 27
""" % (subdir_foo_out))
-test.fail_test(test.read(['subdir', 'foo.out']) != "subdir/foo.in\n")
+test.must_match(['subdir', 'foo.out'], "subdir/foo.in\n")
test.write('SConstruct', """\
def exit_scanner(node, env, target):