OSDN Git Service

Updated to tk 8.4.1
[pf3gnuchains/sourceware.git] / tk / tests / winFont.test
index 9e8949a..d1776d8 100644 (file)
 #
 # 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
 
 catch {destroy .b}
 catch {font delete xyz}
@@ -183,15 +186,3 @@ test winfont-7.4 {AllocFont procedure: extract info from textmetric} {pcOnly} {
 destroy .b
 ::tcltest::cleanupTests
 return
-
-
-
-
-
-
-
-
-
-
-
-