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/option-l.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/option-l.py')
-rw-r--r-- | test/option-l.py | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/test/option-l.py b/test/option-l.py index 5f75737..1a14638 100644 --- a/test/option-l.py +++ b/test/option-l.py @@ -10,20 +10,14 @@ test = TestSCons.TestSCons() test.write('SConstruct', "") -test.run(arguments = '-l 1') +test.run(arguments = '-l 1', + stderr = "Warning: the -l option is not yet implemented\n") -test.fail_test(test.stderr() != - "Warning: the -l option is not yet implemented\n") +test.run(arguments = '--load-average=1', + stderr = "Warning: the --load-average option is not yet implemented\n") -test.run(arguments = '--load-average=1') - -test.fail_test(test.stderr() != - "Warning: the --load-average option is not yet implemented\n") - -test.run(arguments = '--max-load=1') - -test.fail_test(test.stderr() != - "Warning: the --max-load option is not yet implemented\n") +test.run(arguments = '--max-load=1', + stderr = "Warning: the --max-load option is not yet implemented\n") test.pass_test() |