diff options
author | Daniel Moody <dmoody256@gmail.com> | 2018-05-25 22:06:08 (GMT) |
---|---|---|
committer | Daniel Moody <dmoody256@gmail.com> | 2018-05-25 22:06:08 (GMT) |
commit | df543ac63394c2dffd50264d188fa3a237f69bc8 (patch) | |
tree | 1528b5c074bee99329a4c089da0eb1c5e1467117 /test/SWIG | |
parent | 2cfbdb0e6ce2d1856c3700f4317a6b2242b36851 (diff) | |
download | SCons-df543ac63394c2dffd50264d188fa3a237f69bc8.zip SCons-df543ac63394c2dffd50264d188fa3a237f69bc8.tar.gz SCons-df543ac63394c2dffd50264d188fa3a237f69bc8.tar.bz2 |
pr-3052: moved some 64 bit logic to TestCmd and used TestCmd system checks
Diffstat (limited to 'test/SWIG')
-rw-r--r-- | test/SWIG/recursive-includes-cpp.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/test/SWIG/recursive-includes-cpp.py b/test/SWIG/recursive-includes-cpp.py index 8fbe7c0..2c74cc8 100644 --- a/test/SWIG/recursive-includes-cpp.py +++ b/test/SWIG/recursive-includes-cpp.py @@ -32,6 +32,7 @@ in cases of recursive inclusion. import os import sys import TestSCons +import TestCmd from SCons.Defaults import DefaultEnvironment DefaultEnvironment( tools = [ 'swig' ] ) @@ -69,8 +70,8 @@ test.write("mod.i", """\ """) -if sys.platform == 'win32': - if(sys.maxsize > 2**32): +if TestCmd.IS_WINDOWS: + if TestCmd.IS_64_BIT: TARGET_ARCH = "TARGET_ARCH = 'x86_64'," else: TARGET_ARCH = "TARGET_ARCH = 'x86'," |