diff options
author | dgp@users.sourceforge.net <dgp> | 2002-07-12 13:40:58 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2002-07-12 13:40:58 (GMT) |
commit | e4a449eaf3c1ec9bab39a056094955bffeeb6a21 (patch) | |
tree | d8e183b36df3072890d7f699cb3530b8aa5e7777 /tests/winMenu.test | |
parent | 2d869d6cdad0d94bd3e8d161584b36096e1af047 (diff) | |
download | tk-e4a449eaf3c1ec9bab39a056094955bffeeb6a21.zip tk-e4a449eaf3c1ec9bab39a056094955bffeeb6a21.tar.gz tk-e4a449eaf3c1ec9bab39a056094955bffeeb6a21.tar.bz2 |
* Converted several files in the Tk test suite for testing by
tcltest 2.1.
Diffstat (limited to 'tests/winMenu.test')
-rw-r--r-- | tests/winMenu.test | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/winMenu.test b/tests/winMenu.test index fe4d90a..afa5ca0 100644 --- a/tests/winMenu.test +++ b/tests/winMenu.test @@ -7,12 +7,11 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: winMenu.test,v 1.4 2001/08/01 16:21:12 dgp Exp $ - -if {[lsearch [namespace children] ::tcltest] == -1} { - source [file join [pwd] [file dirname [info script]] defs.tcl] -} +# RCS: @(#) $Id: winMenu.test,v 1.5 2002/07/12 13:41:01 dgp Exp $ +package require tcltest 2.1 +namespace import -force tcltest::test +eval tcltest::configure $argv if {[lsearch [image types] test] < 0} { puts "This application hasn't been compiled with the \"test\" image" puts "type, so I can't run this test. Are you sure you're using" |