diff options
Diffstat (limited to 'test/option-w.py')
-rw-r--r-- | test/option-w.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/test/option-w.py b/test/option-w.py index a2db34d..d27c52f 100644 --- a/test/option-w.py +++ b/test/option-w.py @@ -10,15 +10,11 @@ test = TestSCons.TestSCons() test.write('SConstruct', "") -test.run(arguments = '-w') +test.run(arguments = '-w', + 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 = '--print-directory') - -test.fail_test(test.stderr() != - "Warning: the --print-directory option is not yet implemented\n") +test.run(arguments = '--print-directory', + stderr = "Warning: the --print-directory option is not yet implemented\n") test.pass_test() |