diff options
author | dgp@users.sourceforge.net <dgp> | 2003-04-01 21:06:12 (GMT) |
---|---|---|
committer | dgp@users.sourceforge.net <dgp> | 2003-04-01 21:06:12 (GMT) |
commit | c517e5fbdd63a2db6c4ffbf5977687e34e3dad76 (patch) | |
tree | b4c1ef216ce065ee1d996973ed53d862904215cc /tests/select.test | |
parent | 00da9b030630ae598a76850f9e97c0231474dfb0 (diff) | |
download | tk-c517e5fbdd63a2db6c4ffbf5977687e34e3dad76.zip tk-c517e5fbdd63a2db6c4ffbf5977687e34e3dad76.tar.gz tk-c517e5fbdd63a2db6c4ffbf5977687e34e3dad76.tar.bz2 |
* tests/all.tcl: Made better use of a common
* tests/constraints.tcl: -loadfile to hold definitions
* tests/*.test: common to all test files.
Diffstat (limited to 'tests/select.test')
-rw-r--r-- | tests/select.test | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/tests/select.test b/tests/select.test index 0e24c7c..db401b7 100644 --- a/tests/select.test +++ b/tests/select.test @@ -6,7 +6,7 @@ # Copyright (c) 1998-1999 by Scriptics Corporation. # All rights reserved. # -# RCS: @(#) $Id: select.test,v 1.9 2002/07/13 20:28:35 dgp Exp $ +# RCS: @(#) $Id: select.test,v 1.10 2003/04/01 21:06:51 dgp Exp $ # # Note: Multiple display selection handling will only be tested if the @@ -14,14 +14,9 @@ # 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 -namespace import -force tcltest::interpreter - global longValue selValue selInfo set selValue {} @@ -1044,7 +1039,7 @@ test select-13.1 {SelectionSize procedure, handler deleted} {unixOnly} { catch {rename weirdHandler {}} # cleanup -::tcltest::cleanupTests +cleanupTests return |