diff options
Diffstat (limited to 'test/option-o.py')
-rw-r--r-- | test/option-o.py | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/test/option-o.py b/test/option-o.py index 5be3d08..63453d3 100644 --- a/test/option-o.py +++ b/test/option-o.py @@ -10,20 +10,14 @@ test = TestSCons.TestSCons() test.write('SConstruct', "") -test.run(arguments = '-o foo') +test.run(arguments = '-o foo', + stderr = "Warning: the -o option is not yet implemented\n") -test.fail_test(test.stderr() != - "Warning: the -o option is not yet implemented\n") +test.run(arguments = '--old-file=foo', + stderr = "Warning: the --old-file option is not yet implemented\n") -test.run(arguments = '--old-file=foo') - -test.fail_test(test.stderr() != - "Warning: the --old-file option is not yet implemented\n") - -test.run(arguments = '--assume-old=foo') - -test.fail_test(test.stderr() != - "Warning: the --assume-old option is not yet implemented\n") +test.run(arguments = '--assume-old=foo', + stderr = "Warning: the --assume-old option is not yet implemented\n") test.pass_test() |