diff options
author | William Deegan <bill@baddogconsulting.com> | 2015-02-20 22:27:56 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2015-02-20 22:27:56 (GMT) |
commit | 6a87411122374088eab75fc13c083e9e43b827fc (patch) | |
tree | 776243780266904d641f969bb5c8a92a4d04ad83 /test/D | |
parent | 7d4031dca4d8c9f73e59c8c0bcb165eb2f6248ba (diff) | |
download | SCons-6a87411122374088eab75fc13c083e9e43b827fc.zip SCons-6a87411122374088eab75fc13c083e9e43b827fc.tar.gz SCons-6a87411122374088eab75fc13c083e9e43b827fc.tar.bz2 |
Fix failing D tests which were checking for architecture to determine bit'ness instead of using platform.architecture() to check for 32bit
Diffstat (limited to 'test/D')
-rw-r--r-- | test/D/MixedDAndC/Common/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/D/MixedDAndC/Common/common.py b/test/D/MixedDAndC/Common/common.py index b356411..176bdc1 100644 --- a/test/D/MixedDAndC/Common/common.py +++ b/test/D/MixedDAndC/Common/common.py @@ -30,7 +30,7 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import TestSCons from os.path import abspath, dirname -from platform import machine +from platform import architecture import sys sys.path.insert(1, abspath(dirname(__file__) + '/../../Support')) @@ -48,7 +48,7 @@ def testForTool(tool): test.run() - if machine() in ('i386',): + if architecture()[0] == '32bit': test.fail_test('64-bit mode not compiled in' not in test.stdout()) test.pass_test() |