diff options
Diffstat (limited to 'tkimg/xpm/tests/all.tcl')
-rwxr-xr-x | tkimg/xpm/tests/all.tcl | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/tkimg/xpm/tests/all.tcl b/tkimg/xpm/tests/all.tcl new file mode 100755 index 0000000..7010d2d --- /dev/null +++ b/tkimg/xpm/tests/all.tcl @@ -0,0 +1,24 @@ +# all.tcl -- -*- tcl -*-
+#
+# Import common functionality, then run the tests in this directory.
+#
+# Copyright (c) 2002 Andreas Kupries <andreas_kupries@users.sourceforge.net>
+# All rights reserved.
+#
+# RCS: @(#) $Id: all.tcl 224 2009-07-27 08:47:46Z nijtmans $
+
+set _pwd [pwd]
+cd [file dirname [file join [pwd] [info script]]]
+set _here [pwd]
+cd $_pwd
+source [file join [file dirname [file dirname $_here]] tests all.tcl]
+unset _pwd _here
+
+set ::tcltest::testSingleFile false
+set ::tcltest::testsDirectory [file dirname [info script]]
+
+# We need to ensure that the testsDirectory is absolute
+::tcltest::normalizePath ::tcltest::testsDirectory
+
+run_tests
+exit
|