summaryrefslogtreecommitdiffstats
path: root/test/MSVS
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
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')
-rw-r--r--test/MSVS/common-prefix.py4
-rw-r--r--test/MSVS/runfile.py4
-rw-r--r--test/MSVS/vs-6.0-exec.py4
-rw-r--r--test/MSVS/vs-6.0-files.py4
-rw-r--r--test/MSVS/vs-7.0-exec.py4
-rw-r--r--test/MSVS/vs-7.0-files.py6
-rw-r--r--test/MSVS/vs-7.1-exec.py4
-rw-r--r--test/MSVS/vs-7.1-files.py6
-rw-r--r--test/MSVS/vs-8.0-exec.py4
-rw-r--r--test/MSVS/vs-8.0-files.py6
10 files changed, 23 insertions, 23 deletions
diff --git a/test/MSVS/common-prefix.py b/test/MSVS/common-prefix.py
index 4034a4a..5a49a8c 100644
--- a/test/MSVS/common-prefix.py
+++ b/test/MSVS/common-prefix.py
@@ -35,9 +35,9 @@ import os.path
import sys
import TestCmd
-import TestSCons
+import TestSConsMSVS
-test = TestSCons.TestSCons()
+test = TestSConsMSVS.TestSConsMSVS()
if sys.platform != 'win32':
msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
diff --git a/test/MSVS/runfile.py b/test/MSVS/runfile.py
index 23fd84b..c775bdc 100644
--- a/test/MSVS/runfile.py
+++ b/test/MSVS/runfile.py
@@ -35,9 +35,9 @@ import os.path
import sys
import TestCmd
-import TestSCons
+import TestSConsMSVS
-test = TestSCons.TestSCons()
+test = TestSConsMSVS.TestSConsMSVS()
if sys.platform != 'win32':
msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
diff --git a/test/MSVS/vs-6.0-exec.py b/test/MSVS/vs-6.0-exec.py
index 3fe3f16..2b76db4 100644
--- a/test/MSVS/vs-6.0-exec.py
+++ b/test/MSVS/vs-6.0-exec.py
@@ -32,9 +32,9 @@ Visual Studio 6 project (.dsp) and solution (.dsw) files.
import os
import sys
-import TestSCons
+import TestSConsMSVS
-test = TestSCons.TestSCons()
+test = TestSConsMSVS.TestSConsMSVS()
if sys.platform != 'win32':
msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
diff --git a/test/MSVS/vs-6.0-files.py b/test/MSVS/vs-6.0-files.py
index 8153b52..8da84a6 100644
--- a/test/MSVS/vs-6.0-files.py
+++ b/test/MSVS/vs-6.0-files.py
@@ -32,9 +32,9 @@ Test that we can generate Visual Studio 6 project (.dsp) and solution
import os
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 = ['6.0']
diff --git a/test/MSVS/vs-7.0-exec.py b/test/MSVS/vs-7.0-exec.py
index c4ef414..5ffb35c 100644
--- a/test/MSVS/vs-7.0-exec.py
+++ b/test/MSVS/vs-7.0-exec.py
@@ -32,9 +32,9 @@ Visual Studio 7.0 project (.vcproj) and solution (.sln) files.
import os
import sys
-import TestSCons
+import TestSConsMSVS
-test = TestSCons.TestSCons()
+test = TestSConsMSVS.TestSConsMSVS()
if sys.platform != 'win32':
msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
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')
diff --git a/test/MSVS/vs-7.1-exec.py b/test/MSVS/vs-7.1-exec.py
index 03fec81..0f99def 100644
--- a/test/MSVS/vs-7.1-exec.py
+++ b/test/MSVS/vs-7.1-exec.py
@@ -32,9 +32,9 @@ Visual Studio 7.1 project (.vcproj) and solution (.sln) files.
import os
import sys
-import TestSCons
+import TestSConsMSVS
-test = TestSCons.TestSCons()
+test = TestSConsMSVS.TestSConsMSVS()
if sys.platform != 'win32':
msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
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')
diff --git a/test/MSVS/vs-8.0-exec.py b/test/MSVS/vs-8.0-exec.py
index f41e2be..b43b2d4 100644
--- a/test/MSVS/vs-8.0-exec.py
+++ b/test/MSVS/vs-8.0-exec.py
@@ -32,9 +32,9 @@ Visual Studio 8.0 project (.vcproj) and solution (.sln) files.
import os
import sys
-import TestSCons
+import TestSConsMSVS
-test = TestSCons.TestSCons()
+test = TestSConsMSVS.TestSConsMSVS()
if sys.platform != 'win32':
msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
diff --git a/test/MSVS/vs-8.0-files.py b/test/MSVS/vs-8.0-files.py
index 0664d23..f76c90f 100644
--- a/test/MSVS/vs-8.0-files.py
+++ b/test/MSVS/vs-8.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 = ['8.0']
@@ -212,7 +212,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')