summaryrefslogtreecommitdiff
path: root/test/option--I.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--I.py
parentfcd916513a1ad10e13479d4d604f239f7ea45c73 (diff)
downloadscons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.gz
Add more information error reporting from tests.
Diffstat (limited to 'test/option--I.py')
-rw-r--r--test/option--I.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/test/option--I.py b/test/option--I.py
index eaf1440c..7ca471d3 100644
--- a/test/option--I.py
+++ b/test/option--I.py
@@ -29,15 +29,10 @@ import bar
print bar.variable
""")
-test.run(arguments = '-I sub1 -I sub2')
+test.run(arguments = '-I sub1 -I sub2', stdout = "sub1/foo\nsub2/bar\n")
-test.fail_test(test.stdout() != "sub1/foo\nsub2/bar\n")
-test.fail_test(test.stderr() != "")
-
-test.run(arguments = '--include-dir=sub2 --include-dir=sub1')
-
-test.fail_test(test.stdout() != "sub2/foo\nsub2/bar\n")
-test.fail_test(test.stderr() != "")
+test.run(arguments = '--include-dir=sub2 --include-dir=sub1',
+ stdout = "sub2/foo\nsub2/bar\n")
test.pass_test()