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.py12
1 files changed, 5 insertions, 7 deletions
diff --git a/test/option-o.py b/test/option-o.py
index f095033..5be3d08 100644
--- a/test/option-o.py
+++ b/test/option-o.py
@@ -2,27 +2,25 @@
__revision__ = "test/option-o.py __REVISION__ __DATE__ __DEVELOPER__"
-import TestCmd
+import TestSCons
import string
import sys
-test = TestCmd.TestCmd(program = 'scons.py',
- workdir = '',
- interpreter = 'python')
+test = TestSCons.TestSCons()
test.write('SConstruct', "")
-test.run(chdir = '.', arguments = '-o foo')
+test.run(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.run(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.run(arguments = '--assume-old=foo')
test.fail_test(test.stderr() !=
"Warning: the --assume-old option is not yet implemented\n")