diff options
Diffstat (limited to 'tests/testing.tcl')
-rw-r--r-- | tests/testing.tcl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/testing.tcl b/tests/testing.tcl new file mode 100644 index 0000000..95c0fe3 --- /dev/null +++ b/tests/testing.tcl @@ -0,0 +1,12 @@ +# Find and load the Jim tcltest wrapper +if {[catch {info version}]} { + # Tcl + source [file dirname [info script]]/../tcltest.tcl +} else { + # Jim + if {[exists env(TOPSRCDIR)]} { + set auto_path [list $env(TOPSRCDIR) {*}$auto_path] + } + + package require tcltest +} |