diff options
Diffstat (limited to 'test/MSVS/vs-6.0-files.py')
-rw-r--r-- | test/MSVS/vs-6.0-files.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/test/MSVS/vs-6.0-files.py b/test/MSVS/vs-6.0-files.py index 41b579b..b6ac4f0 100644 --- a/test/MSVS/vs-6.0-files.py +++ b/test/MSVS/vs-6.0-files.py @@ -33,24 +33,19 @@ import TestSConsMSVS import sys -test = TestSConsMSVS.TestSConsMSVS() - -if sys.platform != 'win32': - msg = "Skipping Visual Studio test on non-Windows platform '%s'\n" % sys.platform - test.skip_test(msg) +test = TestSConsMSVS.TestSConsMSVS() +host_arch = test.get_vs_host_arch() # Make the test infrastructure think we have this version of MSVS installed. test._msvs_versions = ['6.0'] - expected_dspfile = TestSConsMSVS.expected_dspfile_6_0 expected_dswfile = TestSConsMSVS.expected_dswfile_6_0 SConscript_contents = TestSConsMSVS.SConscript_contents_6_0 - -test.write('SConstruct', SConscript_contents) +test.write('SConstruct', SConscript_contents%{'HOST_ARCH': host_arch}) test.run(arguments="Test.dsp") |