diff options
author | Joe Mistachkin <joe@mistachkin.com> | 2016-01-21 06:11:02 (GMT) |
---|---|---|
committer | Joe Mistachkin <joe@mistachkin.com> | 2016-01-21 06:11:02 (GMT) |
commit | c5e85332620338a73f7ecd6ef33c2d0bd89a0652 (patch) | |
tree | 1cb178fd4ce33b126e0fe655c92d2b6306fbb4f3 /tests/platform.test | |
parent | 003b3000368a5f8752fcee1444cf4ec1cee6fe62 (diff) | |
download | tcl-tip_440_backport.zip tcl-tip_440_backport.tar.gz tcl-tip_440_backport.tar.bz2 |
Backport of TIP #440.tip_440_backport
Diffstat (limited to 'tests/platform.test')
-rw-r--r-- | tests/platform.test | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/platform.test b/tests/platform.test index 51b9067..2f1cd70 100644 --- a/tests/platform.test +++ b/tests/platform.test @@ -20,6 +20,10 @@ namespace eval ::tcl::test::platform { testConstraint testCPUID [llength [info commands testcpuid]] +test platform-1.0 {tcl_platform(engine)} { + set tcl_platform(engine) +} {Tcl} + test platform-1.1 {TclpSetVariables: tcl_platform} { interp create i i eval {catch {unset tcl_platform(debug)}} @@ -27,7 +31,7 @@ test platform-1.1 {TclpSetVariables: tcl_platform} { set result [i eval {lsort [array names tcl_platform]}] interp delete i set result -} {byteOrder machine os osVersion platform pointerSize user wordSize} +} {byteOrder engine machine os osVersion platform pointerSize user wordSize} # Test assumes twos-complement arithmetic, which is true of virtually # everything these days. Note that this does *not* use wide(), and |