summaryrefslogtreecommitdiffstats
path: root/tkimg/ppm/tests/all.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'tkimg/ppm/tests/all.tcl')
-rw-r--r--tkimg/ppm/tests/all.tcl24
1 files changed, 24 insertions, 0 deletions
diff --git a/tkimg/ppm/tests/all.tcl b/tkimg/ppm/tests/all.tcl
new file mode 100644
index 0000000..672eef7
--- /dev/null
+++ b/tkimg/ppm/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,v 1.1.1.1 2016/01/25 21:20:47 joye Exp $
+
+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