From 8379a8abd400f4531f3dddb9fb0a85ea8a80a0ec Mon Sep 17 00:00:00 2001 From: dgp Date: Thu, 24 Feb 2005 22:12:47 +0000 Subject: speed up some tests --- tests/tcltest.test | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tests/tcltest.test b/tests/tcltest.test index cf43030..ea7bca0 100755 --- a/tests/tcltest.test +++ b/tests/tcltest.test @@ -6,7 +6,7 @@ # Copyright (c) 2000 by Ajuba Solutions # All rights reserved. # -# RCS: @(#) $Id: tcltest.test,v 1.50 2005/02/24 21:02:58 dgp Exp $ +# RCS: @(#) $Id: tcltest.test,v 1.51 2005/02/24 22:12:47 dgp Exp $ # Note that there are several places where the value of # tcltest::currentFailure is stored/reset in the -setup/-cleanup @@ -699,23 +699,23 @@ removeFile thisdirectoryisafile removeDirectory normaldirectory # -file, -notfile, [matchFiles], [skipFiles] -test tcltest-9.1 {-file a*.tcl} -constraints {unixOrPc} -setup { +test tcltest-9.1 {-file d*.tcl} -constraints {unixOrPc} -setup { set old [testsDirectory] testsDirectory [file dirname [info script]] } -body { - slave msg [file join [testsDirectory] all.tcl] -file as*.test + slave msg [file join [testsDirectory] all.tcl] -file d*.test set msg } -cleanup { testsDirectory $old -} -match regexp -result {assocd\.test} +} -match regexp -result {dstring\.test} -test tcltest-9.2 {-file a*.tcl} -constraints {unixOrPc} -setup { +test tcltest-9.2 {-file d*.tcl} -constraints {unixOrPc} -setup { set old [testsDirectory] testsDirectory [file dirname [info script]] } -body { slave msg [file join [testsDirectory] all.tcl] \ - -file as*.test -notfile assocd* - regexp {assocd\.test} $msg + -file d*.test -notfile dstring* + regexp {dstring\.test} $msg } -cleanup { testsDirectory $old } -result 0 -- cgit v0.12