summaryrefslogtreecommitdiffstats
path: root/test/MSVS/vs-7.0-files.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2008-09-23 16:15:40 (GMT)
committerSteven Knight <knight@baldmt.com>2008-09-23 16:15:40 (GMT)
commit4b764a46532db32edcbbc7a611294a57a02f5693 (patch)
treef620e13a07710c9cd136d38ce78491e16baeb273 /test/MSVS/vs-7.0-files.py
parent379fee93166e2740f09dd5c7e4479a6a1947f842 (diff)
downloadSCons-4b764a46532db32edcbbc7a611294a57a02f5693.zip
SCons-4b764a46532db32edcbbc7a611294a57a02f5693.tar.gz
SCons-4b764a46532db32edcbbc7a611294a57a02f5693.tar.bz2
Refactor Visual Studio testing logic into a separate TestSConsMSVS
subclass, in its own module.
Diffstat (limited to 'test/MSVS/vs-7.0-files.py')
-rw-r--r--test/MSVS/vs-7.0-files.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/MSVS/vs-7.0-files.py b/test/MSVS/vs-7.0-files.py
index 9f51c8c..5992c8c 100644
--- a/test/MSVS/vs-7.0-files.py
+++ b/test/MSVS/vs-7.0-files.py
@@ -33,9 +33,9 @@ import os
import os.path
import sys
-import TestSCons
+import TestSConsMSVS
-test = TestSCons.TestSCons()
+test = TestSConsMSVS.TestSConsMSVS()
# Make the test infrastructure think we have this version of MSVS installed.
test._msvs_versions = ['7.0']
@@ -203,7 +203,7 @@ test.must_not_exist(test.workpath('work1', 'Test.sln'))
# Test that running SCons with $PYTHON_ROOT in the environment
# changes the .vcproj output as expected.
os.environ['PYTHON_ROOT'] = 'xyzzy'
-python = os.path.join('$(PYTHON_ROOT)', os.path.split(TestSCons.python)[1])
+python = os.path.join('$(PYTHON_ROOT)', os.path.split(TestSConsMSVS.python)[1])
test.run(chdir='work1', arguments='Test.vcproj')