summaryrefslogtreecommitdiff
path: root/test/option--.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-16 04:22:19 +0000
committerSteven Knight <knight@baldmt.com>2001-09-16 04:22:19 +0000
commite88681240924e70ec12abaf3664290a69db6dcfd (patch)
tree136311c7b231f8d467156a9ae4a9d53428f364fc /test/option--.py
parentfcd916513a1ad10e13479d4d604f239f7ea45c73 (diff)
downloadscons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.gz
Add more information error reporting from tests.
Diffstat (limited to 'test/option--.py')
-rw-r--r--test/option--.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/option--.py b/test/option--.py
index f1f4f23e..1529c467 100644
--- a/test/option--.py
+++ b/test/option--.py
@@ -26,10 +26,7 @@ env.MyBuild(target = '-f2.out', source = 'f2.in')
expect = "python build.py -f1.out\npython build.py -f2.out\n"
-test.run(arguments = '-- -f1.out -f2.out')
-
-test.fail_test(test.stdout() != expect)
-test.fail_test(test.stderr() != "")
+test.run(arguments = '-- -f1.out -f2.out', stdout = expect)
test.fail_test(not os.path.exists(test.workpath('-f1.out')))
test.fail_test(not os.path.exists(test.workpath('-f2.out')))