summaryrefslogtreecommitdiff
path: root/test/Exit.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2004-08-05 20:00:20 +0000
committerSteven Knight <knight@baldmt.com>2004-08-05 20:00:20 +0000
commit42629fe85a87b728d01c67e65bdbfde310744c63 (patch)
treef96bca18fdb063488c45f340ecf9a8d02902071f /test/Exit.py
parentd7289a48cb622e56d940fc21c67ee6947a4d5ae1 (diff)
downloadscons-42629fe85a87b728d01c67e65bdbfde310744c63.tar.gz
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 42ae7773..570b6db2 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):