summaryrefslogtreecommitdiffstats
path: root/test/MSVS/vs-7.1-files.py
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2010-06-05 03:18:15 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2010-06-05 03:18:15 (GMT)
commitddbf45ad4b1086ac6493c0d3649310945d85313a (patch)
treed626936fe75e669a137228cf72137030cba2e47b /test/MSVS/vs-7.1-files.py
parent87bd27f06c0e23fedb66c4c5a46b564c1ce88ce7 (diff)
downloadSCons-ddbf45ad4b1086ac6493c0d3649310945d85313a.zip
SCons-ddbf45ad4b1086ac6493c0d3649310945d85313a.tar.gz
SCons-ddbf45ad4b1086ac6493c0d3649310945d85313a.tar.bz2
Re-enable tests on non win32 platforms.
This should alter the HOST_ARCH for these tests on non-x86 platforms to x86 and therefore run.
Diffstat (limited to 'test/MSVS/vs-7.1-files.py')
-rw-r--r--test/MSVS/vs-7.1-files.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/MSVS/vs-7.1-files.py b/test/MSVS/vs-7.1-files.py
index 4fa0627..1df10f4 100644
--- a/test/MSVS/vs-7.1-files.py
+++ b/test/MSVS/vs-7.1-files.py
@@ -36,10 +36,8 @@ import sys
import TestSConsMSVS
test = TestSConsMSVS.TestSConsMSVS()
+host_arch = test.get_vs_host_arch()
-if sys.platform != 'win32':
- msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform
- test.skip_test(msg)
# Make the test infrastructure think we have this version of MSVS installed.
test._msvs_versions = ['7.1']
@@ -52,7 +50,7 @@ SConscript_contents = TestSConsMSVS.SConscript_contents_7_1
-test.write('SConstruct', SConscript_contents)
+test.write('SConstruct', SConscript_contents%{'HOST_ARCH': host_arch})
test.run(arguments="Test.vcproj")