summaryrefslogtreecommitdiffstats
path: root/tests/expr.test
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-29 16:23:27 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-07-29 16:23:27 (GMT)
commite14b7fdff9f29b4251760d69f301abf129265921 (patch)
tree13d2274438c8f7655d593d4e1d8ae9dd7805388e /tests/expr.test
parent3f9c403daa87772cfc14b14c526209bf611553f4 (diff)
downloadtcl-e14b7fdff9f29b4251760d69f301abf129265921.zip
tcl-e14b7fdff9f29b4251760d69f301abf129265921.tar.gz
tcl-e14b7fdff9f29b4251760d69f301abf129265921.tar.bz2
No longer build tcltest.exe to run the tests,but use tclsh86.exe in combination with tcltest86.dll to do that (Windows only)
Diffstat (limited to 'tests/expr.test')
-rw-r--r--tests/expr.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/expr.test b/tests/expr.test
index 6679569..6ad7208 100644
--- a/tests/expr.test
+++ b/tests/expr.test
@@ -15,6 +15,9 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
namespace import -force ::tcltest::*
}
+::tcltest::loadTestedCommands
+catch [list package require -exact Tcltest [info patchlevel]]
+
testConstraint testmathfunctions [expr {
([catch {expr T1()} msg] != 1) || ($msg ne {invalid command name "tcl::mathfunc::T1"})
}]