summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebres <sebres@users.sourceforge.net>2019-01-14 19:51:02 (GMT)
committersebres <sebres@users.sourceforge.net>2019-01-14 19:51:02 (GMT)
commit4aca9276dfef3ce6d54718351c0a3f80896228ff (patch)
treedbc64f3ea0ace3956bde4243f0dfecdcb6231cc3
parentae312970b6c7a2d7eed2af248389ba5b7497602f (diff)
downloadtcl-4aca9276dfef3ce6d54718351c0a3f80896228ff.zip
tcl-4aca9276dfef3ce6d54718351c0a3f80896228ff.tar.gz
tcl-4aca9276dfef3ce6d54718351c0a3f80896228ff.tar.bz2
normalize package provide for tcltests 0.1 (declaration moved from pkgIndex.tcl to package source)
-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..9d89277 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]
diff --git a/tests/tcltests.tcl b/tests/tcltests.tcl
index 74d1b40..cfd3ea3 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