diff options
author | Steven Knight <knight@baldmt.com> | 2008-09-23 16:15:40 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2008-09-23 16:15:40 (GMT) |
commit | 4b764a46532db32edcbbc7a611294a57a02f5693 (patch) | |
tree | f620e13a07710c9cd136d38ce78491e16baeb273 /test/MSVS/vs-7.1-files.py | |
parent | 379fee93166e2740f09dd5c7e4479a6a1947f842 (diff) | |
download | SCons-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.1-files.py')
-rw-r--r-- | test/MSVS/vs-7.1-files.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/MSVS/vs-7.1-files.py b/test/MSVS/vs-7.1-files.py index e1f9010..b4b4e2d 100644 --- a/test/MSVS/vs-7.1-files.py +++ b/test/MSVS/vs-7.1-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.1'] @@ -205,7 +205,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') |