summaryrefslogtreecommitdiff
path: root/test/option--wf.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-12-15 06:35:05 +0000
committerSteven Knight <knight@baldmt.com>2009-12-15 06:35:05 +0000
commit28e693219177749dd9712140dd1a924dcb30cb39 (patch)
treeca33cdc9e3374ef2ac6542edddec954568eb75ea /test/option--wf.py
parent1e8590fb7868ba7c0503b53b20a0693816ff40b5 (diff)
downloadscons-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--wf.py')
-rw-r--r--test/option--wf.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/test/option--wf.py b/test/option--wf.py
index 7e8cfa7f..79824f30 100644
--- a/test/option--wf.py
+++ b/test/option--wf.py
@@ -30,11 +30,9 @@ test = TestSCons.TestSCons()
test.write('SConstruct', "")
-test.run(arguments = '--write-filenames=FILE .',
- stderr = "Warning: the --write-filenames option is not yet implemented\n")
+test.option_not_yet_implemented('--write-filenames', '=FILE .')
test.pass_test()
-
# Local Variables:
# tab-width:4