Add command-line processing for all options (with tests).
[scons.git] / test / option-l.py
1 #!/usr/bin/env python
2
3 __revision__ = "test/option-l.py __REVISION__ __DATE__ __DEVELOPER__"
4
5 import TestCmd
6 import string
7 import sys
8
9 test = TestCmd.TestCmd(program = 'scons.py',
10                        workdir = '',
11                        interpreter = 'python')
12
13 test.write('SConstruct', "")
14
15 test.run(chdir = '.', arguments = '-l 1')
16
17 test.fail_test(test.stderr() !=
18                 "Warning:  the -l option is not yet implemented\n")
19
20 test.run(chdir = '.', arguments = '--load-average=1')
21
22 test.fail_test(test.stderr() !=
23                 "Warning:  the --load-average option is not yet implemented\n")
24
25 test.run(chdir = '.', arguments = '--max-load=1')
26
27 test.fail_test(test.stderr() !=
28                 "Warning:  the --max-load option is not yet implemented\n")
29
30 test.pass_test()
31