summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-01 15:12:16 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2016-06-01 15:12:16 (GMT)
commitd9c51a4ef9bce7f6c38a1a279d9b82ac508421bd (patch)
tree036d43fd208dc345ba1610374b060baad6d98bf3 /tests
parent318a768bfd2847ab5acf7e4964dbb9abc435ee29 (diff)
parenteb088d2b82cc6d7ed5b4b5a4f553c603cab1a2de (diff)
downloadtk-d9c51a4ef9bce7f6c38a1a279d9b82ac508421bd.zip
tk-d9c51a4ef9bce7f6c38a1a279d9b82ac508421bd.tar.gz
tk-d9c51a4ef9bce7f6c38a1a279d9b82ac508421bd.tar.bz2
Fix [http://core.tcl.tk/tcl/info/3bd69eba99a395ee|3bd69eba99a395ee]: 'make dist' fails when tclsh9.0 is on $PATH
Diffstat (limited to 'tests')
-rw-r--r--tests/all.tcl3
-rw-r--r--tests/constraints.tcl2
-rw-r--r--tests/ttk/all.tcl3
3 files changed, 2 insertions, 6 deletions
diff --git a/tests/all.tcl b/tests/all.tcl
index 7f57dc2..d15e5ca 100644
--- a/tests/all.tcl
+++ b/tests/all.tcl
@@ -9,9 +9,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-package require Tcl 8.5
-package require tcltest 2.2
package require Tk ;# This is the Tk test suite; fail early if no Tk!
+package require tcltest 2.2
tcltest::configure {*}$argv
tcltest::configure -testdir [file normalize [file dirname [info script]]]
tcltest::configure -loadfile \
diff --git a/tests/constraints.tcl b/tests/constraints.tcl
index 6402753..e0486ff 100644
--- a/tests/constraints.tcl
+++ b/tests/constraints.tcl
@@ -5,8 +5,6 @@ if {[namespace exists tk::test]} {
return
}
-package require Tcl 8.4
-
package require Tk 8.4
tk appname tktest
wm title . tktest
diff --git a/tests/ttk/all.tcl b/tests/ttk/all.tcl
index da2e316..f03cd56 100644
--- a/tests/ttk/all.tcl
+++ b/tests/ttk/all.tcl
@@ -9,9 +9,8 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-package require Tcl 8.5
-package require tcltest 2.2
package require Tk ;# This is the Tk test suite; fail early if no Tk!
+package require tcltest 2.2
tcltest::configure {*}$argv
tcltest::configure -testdir [file normalize [file dirname [info script]]]
tcltest::configure -loadfile \