diff options
author | dgp <dgp@users.sourceforge.net> | 2002-07-14 05:48:45 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-07-14 05:48:45 (GMT) |
commit | f79b432c7c47051e0c7e11bd52e82547ad7aacf2 (patch) | |
tree | 506cf7b5383406d4969854b8209566f9c0b690c6 /tests/choosedir.test | |
parent | 213541e4a3a5a49415c0f9f8d37a5cbce28f89f7 (diff) | |
download | tk-f79b432c7c47051e0c7e11bd52e82547ad7aacf2.zip tk-f79b432c7c47051e0c7e11bd52e82547ad7aacf2.tar.gz tk-f79b432c7c47051e0c7e11bd52e82547ad7aacf2.tar.bz2 |
* Completed conversion of Tk test suite to use tcltest.
Diffstat (limited to 'tests/choosedir.test')
-rw-r--r-- | tests/choosedir.test | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/tests/choosedir.test b/tests/choosedir.test index 6e03266..e8da6a3 100644 --- a/tests/choosedir.test +++ b/tests/choosedir.test @@ -5,13 +5,17 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: choosedir.test,v 1.9 2000/04/10 22:43:13 ericm Exp $ +# RCS: @(#) $Id: choosedir.test,v 1.10 2002/07/14 05:48:46 dgp Exp $ # -if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest - namespace import -force ::tcltest::* -} +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 + +namespace import -force tcltest::makeDirectory #---------------------------------------------------------------------- # |