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--W.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--W.py')
-rw-r--r-- | test/option--W.py | 24 |
1 files changed, 8 insertions, 16 deletions
diff --git a/test/option--W.py b/test/option--W.py index e544973..a062d26 100644 --- a/test/option--W.py +++ b/test/option--W.py @@ -10,25 +10,17 @@ test = TestSCons.TestSCons() test.write('SConstruct', "") -test.run(arguments = '-W foo') +test.run(arguments = '-W foo', + stderr = "Warning: the -W option is not yet implemented\n") -test.fail_test(test.stderr() != - "Warning: the -W option is not yet implemented\n") +test.run(arguments = '--what-if=foo', + stderr = "Warning: the --what-if option is not yet implemented\n") -test.run(arguments = '--what-if=foo') +test.run(arguments = '--new-file=foo', + stderr = "Warning: the --new-file option is not yet implemented\n") -test.fail_test(test.stderr() != - "Warning: the --what-if option is not yet implemented\n") - -test.run(arguments = '--new-file=foo') - -test.fail_test(test.stderr() != - "Warning: the --new-file option is not yet implemented\n") - -test.run(arguments = '--assume-new=foo') - -test.fail_test(test.stderr() != - "Warning: the --assume-new option is not yet implemented\n") +test.run(arguments = '--assume-new=foo', + stderr = "Warning: the --assume-new option is not yet implemented\n") test.pass_test() |