Add command-line processing for all options (with tests).
[scons.git] / test / option-v.py
1 #!/usr/bin/env python
2
3 __revision__ = "test/option-v.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 = '-v')
16
17 test.fail_test(test.stderr() !=
18                 "Warning:  the -v option is not yet implemented\n")
19
20 test.run(chdir = '.', arguments = '--version')
21
22 test.fail_test(test.stderr() !=
23                 "Warning:  the --version option is not yet implemented\n")
24
25 test.pass_test()
26