summaryrefslogtreecommitdiffstats
path: root/tests/thread.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2012-08-04 07:51:42 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2012-08-04 07:51:42 (GMT)
commit26ef4bacfbe3412a0343afe1cad4b94b321f1fc2 (patch)
treeb1a9d657111f70235f3894fdedc5c3a5d86ce480 /tests/thread.test
parent9d27c20d496ebe21ef04f49dc7b9c100a2de340e (diff)
parent24ef33dc101a3e9114318b884c1e99d792f4739d (diff)
downloadtcl-dkf_notifier_poll.zip
tcl-dkf_notifier_poll.tar.gz
tcl-dkf_notifier_poll.tar.bz2
Diffstat (limited to 'tests/thread.test')
-rw-r--r--tests/thread.test3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/thread.test b/tests/thread.test
index 44789fa..f2735da 100644
--- a/tests/thread.test
+++ b/tests/thread.test
@@ -16,6 +16,9 @@ if {[lsearch [namespace children] ::tcltest] == -1} {
namespace import -force ::tcltest::*
}
+::tcltest::loadTestedCommands
+catch [list package require -exact Tcltest [info patchlevel]]
+
# Some tests require the testthread command
testConstraint testthread [expr {[info commands testthread] != {}}]