From: bdbaddog Date: Tue, 6 Apr 2010 05:13:48 +0000 (+0000) Subject: Fix test for non-win32 platforms X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6976e99350626311d432bb08ec7fb174886e453c;p=scons.git Fix test for non-win32 platforms git-svn-id: http://scons.tigris.org/svn/scons/trunk@4772 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- 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')