diff options
Diffstat (limited to 'tk/tests/textWind.test')
-rw-r--r-- | tk/tests/textWind.test | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/tk/tests/textWind.test b/tk/tests/textWind.test index f75c66c2a6f..85a959b6bd4 100644 --- a/tk/tests/textWind.test +++ b/tk/tests/textWind.test @@ -3,14 +3,14 @@ # # Copyright (c) 1994 The Regents of the University of California. # Copyright (c) 1994-1995 Sun Microsystems, Inc. -# -# See the file "license.terms" for information on usage and redistribution -# of this file, and for a DISCLAIMER OF ALL WARRANTIES. +# Copyright (c) 1998-1999 by Scriptics Corporation. +# All rights reserved. # # RCS: @(#) $Id$ -if {[string compare test [info procs test]] == 1} then \ - {source defs} +if {[lsearch [namespace children] ::tcltest] == -1} { + source [file join [pwd] [file dirname [info script]] defs.tcl] +} foreach i [winfo child .] { catch {destroy $i} @@ -824,3 +824,20 @@ pack .t catch {destroy .t} option clear + +# cleanup +::tcltest::cleanupTests +return + + + + + + + + + + + + + |