summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRussel Winder <russel@winder.org.uk>2014-12-22 17:22:52 (GMT)
committerRussel Winder <russel@winder.org.uk>2014-12-22 17:22:52 (GMT)
commitb5289dd61ad57ec7cb992e11b27399c2f9536410 (patch)
tree2875326bbba7f1c8e11652056dbde2fbf4c0a9e1
parent5e562898f16fba84d5aec291954479503da275a4 (diff)
downloadSCons-b5289dd61ad57ec7cb992e11b27399c2f9536410.zip
SCons-b5289dd61ad57ec7cb992e11b27399c2f9536410.tar.gz
SCons-b5289dd61ad57ec7cb992e11b27399c2f9536410.tar.bz2
Replace UNIX specific code with cross-platform code.
-rw-r--r--test/D/MixedDAndC/Common/common.py4
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()
stub Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
summaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | merge trunkjan.nijtmans2017-09-1515-54/+59
| |\ \ \ \ | | |/ / /
| | * | | 'const'ify more libtommath functions. All functions in generic/tclTomMath.dec...jan.nijtmans2017-09-1516-56/+73
* | | | | WIPdgp2017-09-181-0/+5
* | | | | WIPdgp2017-09-141-4/+113
* | | | | New Tcl_ObjType WIP.dgp2017-09-141-0/+3576
* | | | | merge novemdgp2017-09-1417-216/+119
|\ \ \ \ \ | |/ / / /
| * | | | merge trunkdgp2017-09-141-4/+3
| |\ \ \ \ | | |/ / /
| | * | | Move new declarations to more conventional place for tidier merging.dgp2017-09-141-4/+3
| * | | | merge trunkjan.nijtmans2017-09-143-15/+2
| |\ \ \ \ | | |/ / /
| | * | | Remove some unnecessary #if 0 sections. Fix comments and panic messages. No f...jan.nijtmans2017-09-143-92/+4
| | * | | Fix [f5da3d30e096a1c3486fbc480a6ece01fcb277a6|f5da3d30e0]: clerical error in ...jan.nijtmans2017-09-141-1/+1
| | |\ \ \ | | | | |/ | | | |/|
| | | * | Fix [f5da3d30e096a1c3486fbc480a6ece01fcb277a6|f5da3d30e0]: clerical error in ...jan.nijtmans2017-09-141-1/+1
| * | | | Merge trunkjan.nijtmans2017-09-1314-201/+118
| |\ \ \ \ | | |/ / /
| | * | | Make mp_get_long and mp_set_long available to tommath-enabled Tcl extensions....jan.nijtmans2017-09-1314-103/+100
* | | | | merge novemdgp2017-09-1141-190/+466
|\ \ \ \ \ | |/ / / /
| * | | | merge trunkjan.nijtmans2017-09-1130-158/+174
| |\ \ \ \ | | |/ / /
| | * | | Many 'const' addtions in libtommath where it makes sense. To be submitted bac...jan.nijtmans2017-09-1130-158/+174
| * | | | Merge trunkjan.nijtmans2017-09-0915-32/+292
| |\ \ \ \ | | |/ / /
| | * | | Add some more functions from libtommath for availability within Tcl (mainly t...jan.nijtmans2017-09-0815-25/+65
| | * | | Be consistent about how I am referred to.gahr2017-09-081-2/+2
| | * | | Bump to 8.7a2 to distinguish trunk from 8.7a1 release.dgp2017-09-087-8/+8
| | * | | merge releasedgp2017-09-088-8/+222
| | |\ \ \
| | | * \ \ merge trunk; rc1rc1core_8_7_a1core_8_7_a1_rcdgp2017-09-071-8/+14
| | | |\ \ \ | | | |/ / / | | |/| | |
| | * | | | Fix use of "long long" (manually) in MSVCjan.nijtmans2017-09-061-8/+14
| | | * | | update changesrc0dgp2017-09-051-1/+3
| | | * | | merge trunkdgp2017-09-05