summaryrefslogtreecommitdiffstats
path: root/tests/tcltests.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-09-11 15:39:20 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-09-11 15:39:20 (GMT)
commit4252e1f99f58589cf3ab90f0d2fe8f83f48fd996 (patch)
treef3fc939283abbcd82e735a1fece13773a5d35ee0 /tests/tcltests.tcl
parent9db2475e4e15362e1c9baeef193c1bb701fbe13e (diff)
parent4b7caf2e4a373d2616cc7d4f3d05566bd1588b6d (diff)
downloadtcl-4252e1f99f58589cf3ab90f0d2fe8f83f48fd996.zip
tcl-4252e1f99f58589cf3ab90f0d2fe8f83f48fd996.tar.gz
tcl-4252e1f99f58589cf3ab90f0d2fe8f83f48fd996.tar.bz2
merge 8.7
Diffstat (limited to 'tests/tcltests.tcl')
-rw-r--r--tests/tcltests.tcl11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/tcltests.tcl b/tests/tcltests.tcl
new file mode 100644
index 0000000..74d1b40
--- /dev/null
+++ b/tests/tcltests.tcl
@@ -0,0 +1,11 @@
+#! /usr/bin/env tclsh
+
+package require tcltest 2.2
+namespace import ::tcltest::*
+
+testConstraint exec [llength [info commands exec]]
+testConstraint fcopy [llength [info commands fcopy]]
+testConstraint fileevent [llength [info commands fileevent]]
+testConstraint thread [
+ expr {0 == [catch {package require Thread 2.7-}]}]
+testConstraint notValgrind [expr {![testConstraint valgrind]}]