summaryrefslogtreecommitdiff
path: root/tk/tests/obj.test
diff options
context:
space:
mode:
Diffstat (limited to 'tk/tests/obj.test')
-rw-r--r--tk/tests/obj.test27
1 files changed, 21 insertions, 6 deletions
diff --git a/tk/tests/obj.test b/tk/tests/obj.test
index 1e3c52490c8..8edf93bc826 100644
--- a/tk/tests/obj.test
+++ b/tk/tests/obj.test
@@ -2,14 +2,13 @@
# It is organized in the standard fashion for Tcl tests.
#
# Copyright (c) 1997 Sun Microsystems, Inc.
+# Copyright (c) 1998-1999 by Scriptics Corporation.
+# All rights reserved.
#
-# See the file "license.terms" for information on usage and redistribution
-# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-#
-# SCCS: @(#) obj.test 1.2 97/11/17 11:20:18
+# RCS: @(#) $Id$
-if {[info procs test] != "test"} {
- source defs
+if {[lsearch [namespace children] ::tcltest] == -1} {
+ source [file join [pwd] [file dirname [info script]] defs.tcl]
}
foreach i [winfo children .] {
@@ -34,4 +33,20 @@ test obj-4.1 {SetPixelFromAny} {
eval destroy [winfo children .]
+# cleanup
+::tcltest::cleanupTests
+return
+
+
+
+
+
+
+
+
+
+
+
+
+