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