summaryrefslogtreecommitdiff
path: root/test/option--wf.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/option--wf.py')
-rw-r--r--test/option--wf.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/test/option--wf.py b/test/option--wf.py
index 6fa9ff62..fddf827f 100644
--- a/test/option--wf.py
+++ b/test/option--wf.py
@@ -2,17 +2,15 @@
__revision__ = "test/option--wf.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 = '--write-filenames=FILE')
+test.run(arguments = '--write-filenames=FILE')
test.fail_test(test.stderr() !=
"Warning: the --write-filenames option is not yet implemented\n")