diff options
Diffstat (limited to 'test/option-l.py')
-rw-r--r-- | test/option-l.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/option-l.py b/test/option-l.py new file mode 100644 index 0000000..ca8051c --- /dev/null +++ b/test/option-l.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python + +__revision__ = "test/option-l.py __REVISION__ __DATE__ __DEVELOPER__" + +import TestCmd +import string +import sys + +test = TestCmd.TestCmd(program = 'scons.py', + workdir = '', + interpreter = 'python') + +test.write('SConstruct', "") + +test.run(chdir = '.', arguments = '-l 1') + +test.fail_test(test.stderr() != + "Warning: the -l option is not yet implemented\n") + +test.run(chdir = '.', arguments = '--load-average=1') + +test.fail_test(test.stderr() != + "Warning: the --load-average option is not yet implemented\n") + +test.run(chdir = '.', arguments = '--max-load=1') + +test.fail_test(test.stderr() != + "Warning: the --max-load option is not yet implemented\n") + +test.pass_test() + |