summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-01-14 19:59:19 (GMT)
committersebres <sebres@users.sourceforge.net>2019-01-14 19:59:19 (GMT)
commit1b13dffa8c63561730b6a741f9563dbea9f4acc8 (patch)
treeff23fb66c324df581e4aaff627838ab08e5c4b7d /tests
parent2916e34116707472c0c76c6f3e0bd83345d33f6b (diff)
parent4aca9276dfef3ce6d54718351c0a3f80896228ff (diff)
downloadtcl-1b13dffa8c63561730b6a741f9563dbea9f4acc8.zip
tcl-1b13dffa8c63561730b6a741f9563dbea9f4acc8.tar.gz
tcl-1b13dffa8c63561730b6a741f9563dbea9f4acc8.tar.bz2
merge 8.6, conflicts resolved in win/Makefile.in (fixed auto-path and load tcltests for ROOT_DIR/tests)
Diffstat (limited to 'tests')
-rw-r--r--tests/pkgIndex.tcl5
-rw-r--r--tests/tcltests.tcl2
2 files changed, 3 insertions, 4 deletions
diff --git a/tests/pkgIndex.tcl b/tests/pkgIndex.tcl
index 854b943..96542f9 100644
--- a/tests/pkgIndex.tcl
+++ b/tests/pkgIndex.tcl
@@ -1,6 +1,3 @@
#! /usr/bin/env tclsh
-package ifneeded tcltests 0.1 "
- source [list $dir/tcltests.tcl]
- package provide tcltests 0.1
-"
+package ifneeded tcltests 0.1 [list source $dir/tcltests.tcl] \ No newline at end of file
diff --git a/tests/tcltests.tcl b/tests/tcltests.tcl
index 74d1b40..c8759a8 100644
--- a/tests/tcltests.tcl
+++ b/tests/tcltests.tcl
@@ -9,3 +9,5 @@ testConstraint fileevent [llength [info commands fileevent]]
testConstraint thread [
expr {0 == [catch {package require Thread 2.7-}]}]
testConstraint notValgrind [expr {![testConstraint valgrind]}]
+
+package provide tcltests 0.1 \ No newline at end of file