summaryrefslogtreecommitdiffstats
path: root/test/option-l.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2009-12-15 06:35:05 (GMT)
committerSteven Knight <knight@baldmt.com>2009-12-15 06:35:05 (GMT)
commit3771ce697111a708f23ca69c60ad4ca7bc1030e4 (patch)
treeca33cdc9e3374ef2ac6542edddec954568eb75ea /test/option-l.py
parent297837e8a1f6abf3c888c340a80a40107ac93ce3 (diff)
downloadSCons-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-l.py')
-rw-r--r--test/option-l.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/test/option-l.py b/test/option-l.py
index eedb01e..af308af 100644
--- a/test/option-l.py
+++ b/test/option-l.py
@@ -30,17 +30,13 @@ test = TestSCons.TestSCons()
test.write('SConstruct', "")
-test.run(arguments = '-l 1 .',
- stderr = "Warning: the -l option is not yet implemented\n")
+test.option_not_yet_implemented('-l', '1 .')
-test.run(arguments = '--load-average=1 .',
- stderr = "Warning: the --load-average option is not yet implemented\n")
+test.option_not_yet_implemented('--load-average', '=1 .')
-test.run(arguments = '--max-load=1 .',
- stderr = "Warning: the --max-load option is not yet implemented\n")
+test.option_not_yet_implemented('--max-load', '=1 .')
test.pass_test()
-
# Local Variables:
# tab-width:4