diff options
author | Russel Winder <russel@winder.org.uk> | 2014-12-22 17:22:52 (GMT) |
---|---|---|
committer | Russel Winder <russel@winder.org.uk> | 2014-12-22 17:22:52 (GMT) |
commit | b5289dd61ad57ec7cb992e11b27399c2f9536410 (patch) | |
tree | 2875326bbba7f1c8e11652056dbde2fbf4c0a9e1 /test/D | |
parent | 5e562898f16fba84d5aec291954479503da275a4 (diff) | |
download | SCons-b5289dd61ad57ec7cb992e11b27399c2f9536410.zip SCons-b5289dd61ad57ec7cb992e11b27399c2f9536410.tar.gz SCons-b5289dd61ad57ec7cb992e11b27399c2f9536410.tar.bz2 |
Replace UNIX specific code with cross-platform code.
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 bd761d1..b356411 100644 --- a/test/D/MixedDAndC/Common/common.py +++ b/test/D/MixedDAndC/Common/common.py @@ -29,8 +29,8 @@ __revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__" import TestSCons -from os import uname from os.path import abspath, dirname +from platform import machine import sys sys.path.insert(1, abspath(dirname(__file__) + '/../../Support')) @@ -48,7 +48,7 @@ def testForTool(tool): test.run() - if uname()[4] not in ('x86_64',): + if machine() in ('i386',): test.fail_test('64-bit mode not compiled in' not in test.stdout()) test.pass_test() |