summaryrefslogtreecommitdiffstats
path: root/tests/thread.test
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2022-11-14 17:23:52 (GMT)
committerdgp <dgp@users.sourceforge.net>2022-11-14 17:23:52 (GMT)
commit2a1443e0e07d217161b094cf6e550f63ef2cab54 (patch)
treeb20d3f1b4a13f6fb22dc7774a8299cdc03acfee6 /tests/thread.test
parenta76725bab7f4ec134d7af05fe936cbe9c4c15349 (diff)
downloadtcl-2a1443e0e07d217161b094cf6e550f63ef2cab54.zip
tcl-2a1443e0e07d217161b094cf6e550f63ef2cab54.tar.gz
tcl-2a1443e0e07d217161b094cf6e550f63ef2cab54.tar.bz2
Test suite hygiene
- Several tests missing the "testdstring" constraint - [package require tcltests] is fragile, and almost all test files that had it were not making use of anything it provides. Removed.
Diffstat (limited to 'tests/thread.test')
-rw-r--r--tests/thread.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/thread.test b/tests/thread.test
index 7c7dc27..28934a2 100644
--- a/tests/thread.test
+++ b/tests/thread.test
@@ -15,7 +15,8 @@
# when thread::release is used, -wait is passed in order allow the thread to
# be fully finalized, which avoids valgrind "still reachable" reports.
-package require tcltests
+package require tcltest 2.5
+namespace import ::tcltest::*
::tcltest::loadTestedCommands
catch [list package require -exact Tcltest [info patchlevel]]