diff options
author | Steven Knight <knight@baldmt.com> | 2009-12-15 06:35:05 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-12-15 06:35:05 (GMT) |
commit | 3771ce697111a708f23ca69c60ad4ca7bc1030e4 (patch) | |
tree | ca33cdc9e3374ef2ac6542edddec954568eb75ea /test/option-o.py | |
parent | 297837e8a1f6abf3c888c340a80a40107ac93ce3 (diff) | |
download | SCons-3771ce697111a708f23ca69c60ad4ca7bc1030e4.zip SCons-3771ce697111a708f23ca69c60ad4ca7bc1030e4.tar.gz SCons-3771ce697111a708f23ca69c60ad4ca7bc1030e4.tar.bz2 |
Add a TestSCons.option_not_yet_implemented() method and use it so
the tests of those options expect an exit status of 1.
Diffstat (limited to 'test/option-o.py')
-rw-r--r-- | test/option-o.py | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/test/option-o.py b/test/option-o.py index 23f102b..bde8e8f 100644 --- a/test/option-o.py +++ b/test/option-o.py @@ -30,17 +30,13 @@ test = TestSCons.TestSCons() test.write('SConstruct', "") -test.run(arguments = '-o foo .', - stderr = "Warning: the -o option is not yet implemented\n") +test.option_not_yet_implemented('-o', 'foo .') -test.run(arguments = '--old-file=foo .', - stderr = "Warning: the --old-file option is not yet implemented\n") +test.option_not_yet_implemented('--old-file', '=foo .') -test.run(arguments = '--assume-old=foo .', - stderr = "Warning: the --assume-old option is not yet implemented\n") +test.option_not_yet_implemented('--assume-old', '=foo .') test.pass_test() - # Local Variables: # tab-width:4 |