diff options
Diffstat (limited to 'tk/tests/bgerror.test')
-rw-r--r-- | tk/tests/bgerror.test | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tk/tests/bgerror.test b/tk/tests/bgerror.test index c821389b6dd..9566282fe05 100644 --- a/tk/tests/bgerror.test +++ b/tk/tests/bgerror.test @@ -7,9 +7,12 @@ # # RCS: @(#) $Id$ -if {[lsearch [namespace children] ::tcltest] == -1} { - source [file join [pwd] [file dirname [info script]] defs.tcl] -} +package require tcltest 2.1 +namespace import -force tcltest::configure +namespace import -force tcltest::testsDirectory +configure -testdir [file join [pwd] [file dirname [info script]]] +configure -loadfile [file join [testsDirectory] constraints.tcl] +tcltest::loadTestedCommands test bgerror-1.1 {bgerror / tkerror compat} { set errRes {} |