summaryrefslogtreecommitdiffstats
path: root/tests/embed.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/embed.test')
-rw-r--r--tests/embed.test9
1 files changed, 3 insertions, 6 deletions
diff --git a/tests/embed.test b/tests/embed.test
index 92a21b5..88a6a95 100644
--- a/tests/embed.test
+++ b/tests/embed.test
@@ -4,13 +4,10 @@
# Copyright (c) 1998-1999 by Scriptics Corporation.
# All rights reserved.
#
-# RCS: @(#) $Id: embed.test,v 1.2 2002/07/14 05:48:46 dgp Exp $
+# RCS: @(#) $Id: embed.test,v 1.3 2003/04/01 21:06:22 dgp Exp $
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
test embed-1.1 {TkpUseWindow procedure, bad window identifier} {
@@ -47,5 +44,5 @@ test embed-1.5 {TkpUseWindow procedure, -container must be set} {
# FIXME: test cases common to unixEmbed.test and macEmbed.test should
# be moved here.
-tcltest::cleanupTests
+cleanupTests
return