summaryrefslogtreecommitdiffstats
path: root/tests/package.test
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2011-03-10 13:40:43 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2011-03-10 13:40:43 (GMT)
commitfeb40ba8d2f3784d9284d9f86d2e7ef45342107b (patch)
treeb8ab87dfa2594a0dc0488ae4f4d888a9f61cf883 /tests/package.test
parent56053d42643a128b68bddd9b6a830193c4f2b58f (diff)
downloadtcl-feb40ba8d2f3784d9284d9f86d2e7ef45342107b.zip
tcl-feb40ba8d2f3784d9284d9f86d2e7ef45342107b.tar.gz
tcl-feb40ba8d2f3784d9284d9f86d2e7ef45342107b.tar.bz2
Make tests in child interpreters report their summary info in the master.
Bumped tcltest version to 2.3.3
Diffstat (limited to 'tests/package.test')
-rw-r--r--tests/package.test6
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/package.test b/tests/package.test
index dbeedb7..55aaf2b 100644
--- a/tests/package.test
+++ b/tests/package.test
@@ -19,11 +19,9 @@ if {"::tcltest" ni [namespace children]} {
# Do all this in a slave interp to avoid garbaging the package list
set i [interp create]
-interp eval $i [list set argv $argv]
-interp eval $i [list package require tcltest 2]
-interp eval $i [list namespace import -force ::tcltest::*]
+tcltest::loadIntoSlaveInterpreter $i {*}$argv
interp eval $i {
-
+namespace import -force ::tcltest::*
package forget {*}[package names]
set oldPkgUnknown [package unknown]
package unknown {}