diff options
author | William Deegan <bill@baddogconsulting.com> | 2015-02-20 14:27:56 -0800 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2015-02-20 14:27:56 -0800 |
commit | 16fc021995f97fb28d0e91d441a7071abb814610 (patch) | |
tree | 776243780266904d641f969bb5c8a92a4d04ad83 | |
parent | 830c965e079e80c2d5c566d87ac924115e9e1d9a (diff) | |
download | scons-16fc021995f97fb28d0e91d441a7071abb814610.tar.gz |
Fix failing D tests which were checking for architecture to determine bit'ness instead of using platform.architecture() to check for 32bit
-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 b356411d..176bdc18 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() |