summaryrefslogtreecommitdiff
path: root/test/MSVC
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2010-04-06 05:13:48 +0000
committerWilliam Deegan <bill@baddogconsulting.com>2010-04-06 05:13:48 +0000
commit6bcf4dce917d95889343527a9f9abe71d30c141e (patch)
treec401732cea7df904637c20cb3f0833ac9e6124f9 /test/MSVC
parent476d2dddcae993ace197aee306e29ac4563505dd (diff)
downloadscons-6bcf4dce917d95889343527a9f9abe71d30c141e.tar.gz
Fix test for non-win32 platforms
Diffstat (limited to 'test/MSVC')
-rw-r--r--test/MSVC/TARGET_ARCH.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/MSVC/TARGET_ARCH.py b/test/MSVC/TARGET_ARCH.py
index 9b2192de..963e2a5f 100644
--- a/test/MSVC/TARGET_ARCH.py
+++ b/test/MSVC/TARGET_ARCH.py
@@ -31,15 +31,14 @@ Test the ability to configure the $PCHCOM construction variable.
import TestSCons
import sys
-if sys.platform != 'win32':
- msg = "Skipping Visual C/C++ test on non-Windows platform '%s'\n" % sys.platform
- test.skip_test(msg)
-
-
_python_ = TestSCons._python_
test = TestSCons.TestSCons()
+if sys.platform != 'win32':
+ msg = "Skipping Visual C/C++ test on non-Windows platform '%s'\n" % sys.platform
+ test.skip_test(msg)
+
test.write('SConstruct', """
env_64 = Environment(tools=['default', 'msvc'],
TARGET_ARCH = 'amd64')