diff options
author | Steven Knight <knight@baldmt.com> | 2009-12-15 06:35:05 +0000 |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2009-12-15 06:35:05 +0000 |
commit | 28e693219177749dd9712140dd1a924dcb30cb39 (patch) | |
tree | ca33cdc9e3374ef2ac6542edddec954568eb75ea /test/option--R.py | |
parent | 1e8590fb7868ba7c0503b53b20a0693816ff40b5 (diff) | |
download | scons-28e693219177749dd9712140dd1a924dcb30cb39.tar.gz |
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--R.py')
-rw-r--r-- | test/option--R.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/test/option--R.py b/test/option--R.py index 5fecc670..3b66e288 100644 --- a/test/option--R.py +++ b/test/option--R.py @@ -30,14 +30,11 @@ test = TestSCons.TestSCons() test.write('SConstruct', "") -test.run(arguments = '-R .', - stderr = "Warning: the -R option is not yet implemented\n") +test.option_not_yet_implemented('-R', '.') -test.run(arguments = '--no-builtin-variables .', - stderr = "Warning: the --no-builtin-variables option is not yet implemented\n") +test.option_not_yet_implemented('--no-builtin-variables', '.') test.pass_test() - # Local Variables: # tab-width:4 |