summaryrefslogtreecommitdiffstats
path: root/tests/scale.test
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2002-07-13 00:30:24 (GMT)
committerdgp <dgp@noemail.net>2002-07-13 00:30:24 (GMT)
commitc788190e425acfd523b9acddc31a18e81c33a098 (patch)
treed8de9e4b9b75ecee4498744836b0d9adee60d3b5 /tests/scale.test
parent5d79f1ca560bb8be052c404b6bf7e413f4287d3a (diff)
downloadtk-c788190e425acfd523b9acddc31a18e81c33a098.zip
tk-c788190e425acfd523b9acddc31a18e81c33a098.tar.gz
tk-c788190e425acfd523b9acddc31a18e81c33a098.tar.bz2
* Converted several files in the test suite for testing by
tcltest 2.1. FossilOrigin-Name: 2813f9722e7446138a51d73786f6caf5b2ecb816
Diffstat (limited to 'tests/scale.test')
-rw-r--r--tests/scale.test13
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/scale.test b/tests/scale.test
index c68bf01..ee4981b 100644
--- a/tests/scale.test
+++ b/tests/scale.test
@@ -6,11 +6,16 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: scale.test,v 1.10 2000/04/14 08:34:28 hobbs Exp $
+# RCS: @(#) $Id: scale.test,v 1.11 2002/07/13 00:30:25 dgp Exp $
-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::test
+namespace import -force tcltest::testsDirectory
+namespace import -force tcltest::configure
+configure -testdir [file join [pwd] [file dirname [info script]]]
+configure -loadfile [file join [testsDirectory] constraints.tcl]
+tcltest::loadTestedCommands
+eval configure $argv
foreach i [winfo children .] {
destroy $i