1# all.tcl -- 2# 3# This file contains a top-level script to run all of the Tk 4# tests. Execute it by invoking "source all.tcl" when running tktest 5# in this directory. 6# 7# Copyright (c) 1998-1999 by Scriptics Corporation. 8# 9# See the file "license.terms" for information on usage and redistribution 10# of this file, and for a DISCLAIMER OF ALL WARRANTIES. 11# 12# RCS: @(#) $Id$ 13 14package require Tcl 8.5 15package require tcltest 2.2 16package require Tk ;# This is the Tk test suite; fail early if no Tk! 17tcltest::configure {*}$argv 18tcltest::configure -testdir [file normalize [file dirname [info script]]] 19tcltest::configure -loadfile \ 20 [file join [tcltest::testsDirectory] constraints.tcl] 21tcltest::configure -singleproc 1 22tcltest::runAllTests 23