summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-24 13:26:52 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-03-24 13:26:52 (GMT)
commitab9f98cc8e92cbe59655b280a6a8fffc1bcff60e (patch)
tree46aaf6e7113701b7f31aa186e9f538b908a268a3 /tests
parentff8a5d00432452c513491acc3f5fd2bf357d702a (diff)
downloadtk-ab9f98cc8e92cbe59655b280a6a8fffc1bcff60e.zip
tk-ab9f98cc8e92cbe59655b280a6a8fffc1bcff60e.tar.gz
tk-ab9f98cc8e92cbe59655b280a6a8fffc1bcff60e.tar.bz2
Add test-case for [http://core.tcl.tk/tcl/tktview/1cc44617e2b4ed0a29f75762d45fe46388260f74|1cc44617e2]: Mechanism with 64 bit support in tcl.h does not work outside of core
This test-case passes on all platforms I know of.
Diffstat (limited to 'tests')
-rw-r--r--tests/tk.test6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tk.test b/tests/tk.test
index 748a6cf..c5c475e 100644
--- a/tests/tk.test
+++ b/tests/tk.test
@@ -10,6 +10,8 @@ eval tcltest::configure $argv
tcltest::loadTestedCommands
namespace import -force tcltest::test
+testConstraint testprintf [llength [info command testprintf]]
+
test tk-1.1 {tk command: general} -body {
tk
} -returnCodes error -result {wrong # args: should be "tk subcommand ?arg ...?"}
@@ -177,6 +179,10 @@ test tk-7.2 {tk inactive reset in a safe interpreter} -body {
::safe::interpDelete foo
} -returnCodes 1 -result {resetting the user inactivity timer is not allowed in a safe interpreter}
+test tk-8.1 {Test for ticket [1cc44617e2], see if TCL_LL_MODIFIER works as expected on all platforms} -constraints testprintf -body {
+ testprintf -21474836480
+} -result {-21474836480 18446744052234715136}
+
# tests of [tk busy] in busy.test
# cleanup