diff options
Diffstat (limited to 'test/option-c.py')
| -rw-r--r-- | test/option-c.py | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/test/option-c.py b/test/option-c.py new file mode 100644 index 0000000..1dadc51 --- /dev/null +++ b/test/option-c.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python + +__revision__ = "test/option-c.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 = '-c') + +test.fail_test(test.stderr() != + "Warning: the -c option is not yet implemented\n") + +test.run(chdir = '.', arguments = '--clean') + +test.fail_test(test.stderr() != + "Warning: the --clean option is not yet implemented\n") + +test.run(chdir = '.', arguments = '--remove') + +test.fail_test(test.stderr() != + "Warning: the --remove option is not yet implemented\n") + +test.pass_test() + |
