diff options
Diffstat (limited to 'tests/color.test')
-rw-r--r--[-rwxr-xr-x] | tests/color.test | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/color.test b/tests/color.test index 8557252..a7ed1f8 100755..100644 --- a/tests/color.test +++ b/tests/color.test @@ -6,14 +6,9 @@ # All rights reserved. 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] +eval tcltest::configure $argv tcltest::loadTestedCommands -testConstraint testcolor [llength [info commands testcolor]] - # cname -- # Returns a proper name for a color, given its intensities. # @@ -283,5 +278,5 @@ test color-4.1 {FreeColorObjProc} colorsFree { destroy .t # cleanup -::tcltest::cleanupTests +cleanupTests return |