summaryrefslogtreecommitdiffstats
path: root/tests/tcltests.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcltests.tcl')
-rw-r--r--tests/tcltests.tcl3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/tcltests.tcl b/tests/tcltests.tcl
index cc0d6a7..a2251bf 100644
--- a/tests/tcltests.tcl
+++ b/tests/tcltests.tcl
@@ -1,5 +1,8 @@
#! /usr/bin/env tclsh
+# Don't overwrite tcltests facilities already present
+if {[package provide tcltests] ne {}} return
+
package require tcltest 2.5
namespace import ::tcltest::*
testConstraint exec [llength [info commands exec]]