diff options
author | dgp <dgp@noemail.net> | 2002-07-11 19:02:57 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2002-07-11 19:02:57 (GMT) |
commit | d6939988598b2291c46953e6e70afa83ac39cdaa (patch) | |
tree | 2bd98470d0f9d577705154fe4a5947ca925fbc26 /library | |
parent | 8feb0716b5045b68ba278696d18ec13606fd4f0b (diff) | |
download | tcl-d6939988598b2291c46953e6e70afa83ac39cdaa.zip tcl-d6939988598b2291c46953e6e70afa83ac39cdaa.tar.gz tcl-d6939988598b2291c46953e6e70afa83ac39cdaa.tar.bz2 |
* Corrected reaction to existing but false ::tcl_interactive.
FossilOrigin-Name: 6f69b4efa07d86e82209624bfb9e1e0de2a88877
Diffstat (limited to 'library')
-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 { |