summaryrefslogtreecommitdiffstats
path: root/tests/unixSelect.test
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2002-07-12 13:40:58 (GMT)
committerdgp <dgp@noemail.net>2002-07-12 13:40:58 (GMT)
commit114b021c2e7e9fc5ae4b3899a1e473eb0d1be015 (patch)
treed8e183b36df3072890d7f699cb3530b8aa5e7777 /tests/unixSelect.test
parent8464e0f7636a70c65aa412812f1f7d70df195cb9 (diff)
downloadtk-114b021c2e7e9fc5ae4b3899a1e473eb0d1be015.zip
tk-114b021c2e7e9fc5ae4b3899a1e473eb0d1be015.tar.gz
tk-114b021c2e7e9fc5ae4b3899a1e473eb0d1be015.tar.bz2
* Converted several files in the Tk test suite for testing by
tcltest 2.1. FossilOrigin-Name: 3892bfbf58651928daf7fae82d0d6453eb050f88
Diffstat (limited to 'tests/unixSelect.test')
-rw-r--r--tests/unixSelect.test21
1 files changed, 10 insertions, 11 deletions
diff --git a/tests/unixSelect.test b/tests/unixSelect.test
index c5ea280..84c4cc4 100644
--- a/tests/unixSelect.test
+++ b/tests/unixSelect.test
@@ -9,17 +9,16 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: unixSelect.test,v 1.2 1999/07/09 02:10:07 stanton Exp $
-
-if {[lsearch [namespace children] ::tcltest] == -1} {
- source [file join [pwd] [file dirname [info script]] defs.tcl]
-}
-
-if {$tcl_platform(platform) != "unix"} {
- puts "skipping: Unix only tests..."
- ::tcltest::cleanupTests
- return
-}
+# RCS: @(#) $Id: unixSelect.test,v 1.3 2002/07/12 13:41:00 dgp Exp $
+
+package require tcltest 2.1
+namespace import -force tcltest::test
+namespace import -force tcltest::testsDirectory
+namespace import -force tcltest::configure
+configure -testdir [file join [pwd] [file dirname [info script]]]
+configure -loadfile [file join [testsDirectory] constraints.tcl]
+tcltest::loadTestedCommands
+eval configure $argv
eval destroy [winfo child .]