summaryrefslogtreecommitdiffstats
path: root/tests/all.tcl
blob: 8c0425dc56e62242ffcb6058c766e6208bf3d1bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# all.tcl --
#
# This file contains a top-level script to run all of the Tcl
# tests.  Execute it by invoking "source all.test" when running tcltest
# in this directory.
#
# Copyright (c) 1998-1999 by Scriptics Corporation.
# Copyright (c) 2000 by Ajuba Solutions
#
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.

package prefer latest
package require Tcl 8.5
package require tcltest 2.2
namespace import tcltest::*
configure {*}$argv -testdir [file dir [info script]]
if {[singleProcess]} {
    interp debug {} -frame 1
}
if {[info exists ::env(TCLTEST_SHELL_OPTIONS)]} {
    exit [runAllTests [interpreter] $::env(TCLTEST_SHELL_OPTIONS)]
} else {
    exit [runAllTests]
}
proc exit args {}