Debian Codegraph @

tests/all

raw
1 # This file contains a top-level script to run all of the Tcl
2 # tests. Execute it by invoking "source all" when running tclTest
3 # in this directory.
4 # ------------------------------------------------------------------
5 # THIS SCRIPT IS NOW DEPRECATED! It is kept for older Tcl
6 # installations that don't have the "tcltest" package.
7 # Instead, use the "all.tcl" script to run the test suite.
8 # ------------------------------------------------------------------
9
10 foreach i [lsort [glob *.test]] {
11 if [string match l.*.test $i] {
12 # This is an SCCS lock file; ignore it.
13 continue
14 }
15 puts stdout $i
16 if [catch {source $i} msg] {
17 puts $msg
18 }
19 }