summaryrefslogtreecommitdiffstats
path: root/tests/tcltests.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2018-07-09 14:53:45 (GMT)
committerdgp <dgp@users.sourceforge.net>2018-07-09 14:53:45 (GMT)
commit9bd3b59e1deef204fd29cac25e705bfffd93177d (patch)
treec5ae520a28addd15bde6de72f59681836492a29d /tests/tcltests.tcl
parentfd7ecfb8773ddaea6892a08930ff34f6516187b0 (diff)
parent64cbe6e187a319a8a9cef0d6201f22ba68a7ed60 (diff)
downloadtcl-9bd3b59e1deef204fd29cac25e705bfffd93177d.zip
tcl-9bd3b59e1deef204fd29cac25e705bfffd93177d.tar.gz
tcl-9bd3b59e1deef204fd29cac25e705bfffd93177d.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]}]