summaryrefslogtreecommitdiffstats
path: root/test/Help.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2001-09-16 04:22:19 (GMT)
committerSteven Knight <knight@baldmt.com>2001-09-16 04:22:19 (GMT)
commite88681240924e70ec12abaf3664290a69db6dcfd (patch)
tree136311c7b231f8d467156a9ae4a9d53428f364fc /test/Help.py
parentfcd916513a1ad10e13479d4d604f239f7ea45c73 (diff)
downloadSCons-e88681240924e70ec12abaf3664290a69db6dcfd.zip
SCons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.gz
SCons-e88681240924e70ec12abaf3664290a69db6dcfd.tar.bz2
Add more information error reporting from tests.
Diffstat (limited to 'test/Help.py')
-rw-r--r--test/Help.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/Help.py b/test/Help.py
index 1014f6e..69db872 100644
--- a/test/Help.py
+++ b/test/Help.py
@@ -12,9 +12,8 @@ test.write('SConstruct', r"""
Help("Help text\ngoes here.\n")
""")
-test.run(arguments = '-h')
+expect = "Help text\ngoes here.\n\nUse scons -H for help about command-line options.\n"
-test.fail_test(test.stdout() != "Help text\ngoes here.\n\nUse scons -H for help about command-line options.\n")
-test.fail_test(test.stderr() != "")
+test.run(arguments = '-h', stdout = expect)
test.pass_test()