summaryrefslogtreecommitdiffstats
path: root/tests/all
diff options
context:
space:
mode:
authorstanton <stanton>1999-04-16 01:25:53 (GMT)
committerstanton <stanton>1999-04-16 01:25:53 (GMT)
commit404fc236f34304df53b7e44bc7971d786b87d453 (patch)
tree26ed396a9d8bc0deb59c9732db47806e3d11217b /tests/all
parent23b428ee02ffc11a8ca297f866710dc0c1a92618 (diff)
downloadtk-404fc236f34304df53b7e44bc7971d786b87d453.zip
tk-404fc236f34304df53b7e44bc7971d786b87d453.tar.gz
tk-404fc236f34304df53b7e44bc7971d786b87d453.tar.bz2
* Merged changes from 8.0.5:
- Updated for Mac release
Diffstat (limited to 'tests/all')
-rw-r--r--tests/all9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/all b/tests/all
index 2fb9209..9a473ef 100644
--- a/tests/all
+++ b/tests/all
@@ -2,7 +2,7 @@
# tests. Execute it by invoking "source all" when running tclTest
# in this directory.
#
-# RCS: @(#) $Id: all,v 1.5 1999/03/24 18:07:46 hershey Exp $
+# RCS: @(#) $Id: all,v 1.6 1999/04/16 01:25:55 stanton Exp $
set TESTS_DIR [file join [pwd] [file dirname [info script]]]
source [file join $TESTS_DIR defs]
@@ -74,6 +74,11 @@ if {[info exists TMP_DIR]} {
}
# exit if Tk is running in non-interactive mode.
-if {[info exists tk_version] && !$tcl_interactive} {
+# Don't exit at the end of all the tests on the Mac, since
+# this destroys the window that contains the test results...
+
+if {([info exists tk_version] && !$tcl_interactive) \
+ || [string compare $tcl_platform(platform) macintosh]} {
+ catch {destroy .}
exit
}