diff options
author | hershey <hershey@noemail.net> | 1999-03-24 18:07:46 (GMT) |
---|---|---|
committer | hershey <hershey@noemail.net> | 1999-03-24 18:07:46 (GMT) |
commit | 9949d39612c1141586ccea044a75083cf70e3305 (patch) | |
tree | 4bb9a3e62ac37610b48987d95aeda3b7c1dff0c2 | |
parent | d30c54f3faf6aa9079bb1c95d2525287c51ba208 (diff) | |
download | tk-9949d39612c1141586ccea044a75083cf70e3305.zip tk-9949d39612c1141586ccea044a75083cf70e3305.tar.gz tk-9949d39612c1141586ccea044a75083cf70e3305.tar.bz2 |
all file now exits only when Tk is not in interactive mode.
FossilOrigin-Name: 4259d8ea75320a68f9fb22698ec3287b98e3fdc3
-rw-r--r-- | tests/all | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -2,7 +2,7 @@ # tests. Execute it by invoking "source all" when running tclTest # in this directory. # -# RCS: @(#) $Id: all,v 1.4 1998/12/07 23:29:00 hershey Exp $ +# RCS: @(#) $Id: all,v 1.5 1999/03/24 18:07:46 hershey Exp $ set TESTS_DIR [file join [pwd] [file dirname [info script]]] source [file join $TESTS_DIR defs] @@ -73,5 +73,7 @@ if {[info exists TMP_DIR]} { cd $currentDir } -catch {destroy .} -exit +# exit if Tk is running in non-interactive mode. +if {[info exists tk_version] && !$tcl_interactive} { + exit +} |