Fix test for non-win32 platforms
authorbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 6 Apr 2010 05:13:48 +0000 (05:13 +0000)
committerbdbaddog <bdbaddog@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Tue, 6 Apr 2010 05:13:48 +0000 (05:13 +0000)
git-svn-id: http://scons.tigris.org/svn/scons/trunk@4772 fdb21ef1-2011-0410-befe-b5e4ea1792b1

test/MSVC/TARGET_ARCH.py

index 9b2192de09162ce617f0d5a28646466d28a49fa2..963e2a5f594d80de6a02add4537778809f81d5e5 100644 (file)
@@ -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')