diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | tests/http.test | 3 | ||||
-rw-r--r-- | tests/init.test | 7 | ||||
-rw-r--r-- | tests/pkg.test | 3 |
4 files changed, 13 insertions, 7 deletions
@@ -1,3 +1,10 @@ +2003-06-27 Don Porter <dgp@users.sourceforge.net> + + * tests/init.test: Added [cleanupTests] to report results of tests + * tests/pkg.test: that run in slave interps. [Bugs 761334,761344] + + * tests/http.test: Used more reliable path to find httpd script. + 2003-06-25 Don Porter <dgp@users.sourceforge.net> * tests/init.test: Added tests init-4.6.* to illustrate [Bug 760872] diff --git a/tests/http.test b/tests/http.test index 4beba00..3049742 100644 --- a/tests/http.test +++ b/tests/http.test @@ -12,7 +12,7 @@ # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # # -# RCS: @(#) $Id: http.test,v 1.33 2003/02/11 20:41:38 kennykb Exp $ +# RCS: @(#) $Id: http.test,v 1.34 2003/06/27 17:22:41 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest 2 @@ -48,6 +48,7 @@ catch {unset data} # Ensure httpd file exists set origFile [file join $::tcltest::testsDirectory httpd] +set origFile [file join [pwd] [file dirname [info script]] httpd] set httpdFile [file join [temporaryDirectory] httpd_[pid]] if {![file exists $httpdFile]} { makeFile "" $httpdFile diff --git a/tests/init.test b/tests/init.test index db93b60..6855098 100644 --- a/tests/init.test +++ b/tests/init.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: init.test,v 1.10 2003/06/26 00:54:21 dgp Exp $ +# RCS: @(#) $Id: init.test,v 1.11 2003/06/27 17:22:41 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -67,10 +67,6 @@ interp eval $testInterp [list namespace import -force ::tcltest::*] interp eval $testInterp { -if {[lsearch [namespace children] ::tcltest] == -1} { - package require tcltest -} - auto_reset catch {rename parray {}} @@ -201,6 +197,7 @@ foreach arg [subst -nocommands -novariables { incr count } +cleanupTests } ;# End of [interp eval $testInterp] # cleanup diff --git a/tests/pkg.test b/tests/pkg.test index 9dd0784..189d2c1 100644 --- a/tests/pkg.test +++ b/tests/pkg.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: pkg.test,v 1.9 2001/08/06 19:13:29 dgp Exp $ +# RCS: @(#) $Id: pkg.test,v 1.10 2003/06/27 17:22:41 dgp Exp $ if {[lsearch [namespace children] ::tcltest] == -1} { package require tcltest @@ -645,6 +645,7 @@ set auto_path $oldPath package unknown $oldPkgUnknown concat +cleanupTests } # cleanup |