From fcd916513a1ad10e13479d4d604f239f7ea45c73 Mon Sep 17 00:00:00 2001 From: Steven Knight Date: Sat, 15 Sep 2001 13:46:11 +0000 Subject: Add a TestSCons module for common initialization of SCons tests. --- test/option--lw.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'test/option--lw.py') diff --git a/test/option--lw.py b/test/option--lw.py index 2a7779ea..0a7b2c74 100644 --- a/test/option--lw.py +++ b/test/option--lw.py @@ -2,17 +2,15 @@ __revision__ = "test/option--lw.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 = '--list-where') +test.run(arguments = '--list-where') test.fail_test(test.stderr() != "Warning: the --list-where option is not yet implemented\n") -- cgit v1.2.1