summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2003-06-27 17:22:40 (GMT)
committerdgp <dgp@users.sourceforge.net>2003-06-27 17:22:40 (GMT)
commit00a84e3e9482271c8f74d33197f29e3fb803e7b4 (patch)
tree02f005d7e66201bce02b93f1e4ace511917609ac /tests
parent051e42a40afc1190bf39f9452f7f9e3d48534ebe (diff)
downloadtcl-00a84e3e9482271c8f74d33197f29e3fb803e7b4.zip
tcl-00a84e3e9482271c8f74d33197f29e3fb803e7b4.tar.gz
tcl-00a84e3e9482271c8f74d33197f29e3fb803e7b4.tar.bz2
* 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.
Diffstat (limited to 'tests')
-rw-r--r--tests/http.test3
-rw-r--r--tests/init.test7
-rw-r--r--tests/pkg.test3
3 files changed, 6 insertions, 7 deletions
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