diff options
author | dgp <dgp@users.sourceforge.net> | 2002-07-11 19:02:58 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-07-11 19:02:58 (GMT) |
commit | 57b58ae0e513fd6e227c0bba08a0f0bd6208d51a (patch) | |
tree | 2bd98470d0f9d577705154fe4a5947ca925fbc26 /library/tcltest | |
parent | 512babc0460682cb0d6921ef9e06e709638942bc (diff) | |
download | tcl-57b58ae0e513fd6e227c0bba08a0f0bd6208d51a.zip tcl-57b58ae0e513fd6e227c0bba08a0f0bd6208d51a.tar.gz tcl-57b58ae0e513fd6e227c0bba08a0f0bd6208d51a.tar.bz2 |
* Corrected reaction to existing but false ::tcl_interactive.
Diffstat (limited to 'library/tcltest')
-rw-r--r-- | library/tcltest/tcltest.tcl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/library/tcltest/tcltest.tcl b/library/tcltest/tcltest.tcl index f5cc4a2..b302e94 100644 --- a/library/tcltest/tcltest.tcl +++ b/library/tcltest/tcltest.tcl @@ -16,7 +16,7 @@ # Contributions from Don Porter, NIST, 2002. (not subject to US copyright) # All rights reserved. # -# RCS: @(#) $Id: tcltest.tcl,v 1.69 2002/07/10 18:51:54 dgp Exp $ +# RCS: @(#) $Id: tcltest.tcl,v 1.70 2002/07/11 19:02:58 dgp Exp $ package require Tcl 8.3 ;# uses [glob -directory] namespace eval tcltest { @@ -2385,8 +2385,7 @@ proc tcltest::cleanupTests {{calledFromAllFile 0}} { # loop is running, which is the real issue. # Actually, this doesn't belong here at all. A package # really has no business [exit]-ing an application. - if {![catch {package present Tk}] - && ![info exists ::tcl_interactive]} { + if {![catch {package present Tk}] && ![testConstraint interactive]} { exit } } else { |