diff options
author | dgp <dgp@users.sourceforge.net> | 2005-02-24 22:12:47 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2005-02-24 22:12:47 (GMT) |
commit | 8379a8abd400f4531f3dddb9fb0a85ea8a80a0ec (patch) | |
tree | 07451afffafc6b607d308cef0ea696de74d247f5 /tests | |
parent | f6787ca1135a8ad9ec7231595c664245cdc2e5a3 (diff) | |
download | tcl-8379a8abd400f4531f3dddb9fb0a85ea8a80a0ec.zip tcl-8379a8abd400f4531f3dddb9fb0a85ea8a80a0ec.tar.gz tcl-8379a8abd400f4531f3dddb9fb0a85ea8a80a0ec.tar.bz2 |
speed up some tests
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/tcltest.test | 14 |
1 files 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 |