diff options
author | Steven Knight <knight@baldmt.com> | 2001-09-16 04:22:19 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-09-16 04:22:19 (GMT) |
commit | e88681240924e70ec12abaf3664290a69db6dcfd (patch) | |
tree | 136311c7b231f8d467156a9ae4a9d53428f364fc /test/Help.py | |
parent | fcd916513a1ad10e13479d4d604f239f7ea45c73 (diff) | |
download | SCons-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.py | 5 |
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() |