summaryrefslogtreecommitdiffstats
path: root/library/tcltest
Commit message (Collapse)AuthorAgeFilesLines
* * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-242-18/+15
| | | | | | | * tests/tcltest.test: failed attempts to [source] a directory, and similar matters. Thanks to "mpettigr". [Bug 1119798] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8
* 2004-11-02 Don Porter <dgp@users.sourceforge.net>dgp2004-11-021-4/+24
| | | | | | | | * library/tcltest/tcltest.tcl: Corrected some misleading * tests/tcltest.test (tcltest-26.1,2): displays of ::errorInfo and ::errorCode information when the -setup, -body, and/or -cleanup scripts return an unexpected return code. Thanks to Robert Seeger for the fix. [RFE 1017151].
* * library/tcltest/tcltest.tcl: Correct reaction to errors in thedgp2004-10-302-5/+7
| | | | | obsolete processCmdLineArgsHook. [Bug 1055673] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-261-2/+1
| | | | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Corrected * tests/tcltest.test: double increment of numTestFiles in -singleproc 1 configurations. Updated tcltest-19.1 to tcltest 2.1 behavior. Corrected tcltest-25.3 to not falsely report a failure in tcltest.test. Bumped to tcltest 2.2.6. [Bugs 960560, 960926]
* * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-262-6/+6
| | | | | | * library/tcltest/pkgIndex.tcl: if TCLTEST_OPTIONS value. Updated * tests/tcltest.test: tcltest-19.1 to tcltest 2.1 behavior. Bumped to tcltest 2.2.6.
* * doc/tcltest.n:dgp2004-02-181-2/+2
| | | | | | * library/tcltest/tcltest.tcl: Changed -verbose default value to {body error} so that detailed information on unexpected errors in tests is provided by default, even after the fix for [Bug 725253]
* * library/tcltest/tcltest.tcl: Corrected references todgp2004-02-041-3/+3
| | | | non-existent $name variable in [cleanupTests]. [Bug 833637]
* * library/tcltest/tcltest.tcl: Corrected parsing of singledgp2004-02-032-4/+9
| | | | | command line argument (option with missing value) [Bug 833910] * library/tcltest/pkgIndex.tcl: Bump to version 2.2.5.
* * doc/tcltest.n: Restored the [Eval] proc to replacedgp2003-07-181-16/+6
| | | | | | | | | | * library/tcltest/tcltest.tcl: the [::puts] command when either the -output or -error option for [test] is in use, in order to capture data written to the output or error channels for comparison against what is expected. This is easier to document and agrees better with most user expectations than the previous attempt to replace [puts] only in the caller's namespace. Documentation made more precise on the subject. [Bug 706359]
* * library/tcltest/tcltest.tcl (ProcessFlags): Corrected broken calldgp2003-07-162-4/+4
| | | | | * library/tcltest/pkgIndex.tcl: to [lrange]. Bumped to version 2.2.4. [Bug 772333]
* * library/tcltest/tcltest.tcl: The -returnCodes option to [test]dgp2003-05-051-2/+2
| | | | failed to recognize the symbolic name "ok" for return code 0.
* * library/tcltest/tcltest.tcl: When the return code of a test doesdgp2003-04-211-10/+10
| | | | | | not meet expectations, report that as the reason for test failure, and do not attempt to check the test result for correctness. [Bug 725253]
* * library/tcltest/tcltest.tcl: Added reporting duringdgp2003-03-262-11/+15
| | | | | | | | | | | [configure -debug 1] operations to warn about multiple uses of the same test name. [FR 576693] Replaced [regexp] and [regsub] with [string map] where possible. Thanks to David Welton. [Bugs 667456,667558] * library/tcltest/pkgIndex.tcl: Bumped to tcltest 2.2.3 * tests/msgcat.test (msgcat-2.2.1): changed test name to avoid duplication. [Bug 710356]
* update in commentdgp2003-02-171-2/+2
|
* * library/tcltest/tcltest.tcl: Filename arguments to [outputChannel]dgp2003-02-062-19/+93
| | | | | | | and [errorChannel] (also -outfile and -errfile) were [open]ed but never [closed]. Also, [cleanupTests] could remove output or error files. [Bug 676978]. * library/tcltest/pkgIndex.tcl: Bumped to version 2.2.2.
* typo corrections in comments.dgp2003-01-271-5/+7
|
* * library/tcltest/tcltest.tcl: Corrected [puts -nonewline] withindgp2002-09-221-3/+3
| | | | | | | | test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788] Also corrected reporting of body return code. Thanks to David Taback [Bug 611922] * library/tcltest/pkgIndex.tcl: Bump to version 2.2.1. * tests/tcltest.test: added tests for these bugs.
* * library/tcltest/tcltest.tcl: Corrected [puts -nonewline] withindgp2002-09-222-5/+7
| | | | | test bodies. Thanks to Harald Kirsch. [Bug 612786, Patch 612788] * library/tcltest/pkgIndex.tcl: Bump to version 2.2.1.
* * README: Bumped version number to 8.4b3 to distinguishdgp2002-08-201-1/+4
| | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: HEAD from the 8.4b2 release. * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf * win/configure: * library/http/http.tcl: Corrected installation directory of * library/msgcat/msgcat.tcl: the package tcltest 2.2. Added * library/opt/optparse.tcl: comments in other packages to remind * library/tcltest/tcltest.tcl: that installation directories need * unix/Makefile.in: updates to match increasing version * win/Makefile.in: numbers. [Bug 597450] * win/makefile.bc: * win/makefile.vc:
* * library/tcltest/tcltest.tcl: The setup and cleanup scripts are nowdgp2002-08-052-272/+211
| | | | | | * library/tcltest/pkgIndex.tcl: skipped when a test is skipped, fixing * tests/tcltest.test: [Bug 589859]. Test for bug added, and corrected tcltest package bumped to version 2.2.
* * library/tcltest/tcltest.tcl: Corrected errors in handling ofdgp2002-07-141-4/+6
| | | | configuration options -constraints and -limitconstraints.
* * Corrected reaction to existing but false ::tcl_interactive.dgp2002-07-111-3/+2
|
* * Greatly reduced the number of [exec]s, using slave interps instead.dgp2002-07-101-2/+2
| | | | | * Fixed bug uncovered in the conversion where a message was written to stdout instead of [outputChannel].
* * doc/tcltest.n: Fixed incompatibility in [viewFile].dgp2002-07-082-4/+3
| | | | | * library/tcltest/tcltest.tcl: Corrected docs. Bumped to 2.2.1. * library/tcltest/pkgIndex.tcl: [Bug 578163]
* * doc/tcltest.n: more refinements of the documentation.dgp2002-07-031-1/+3
| | | | | * library/tcltest/tcltest.tcl: Added trace to be sure the stdio constraint is updated whenever the [interpreter] changes.
* * doc/tcltest.n: Reverted [makeFile] and [viewFile] todgp2002-07-021-5/+9
| | | | | | | | * library/tcltest/tcltest.tcl: their former behavior, and documented * tests/cmdAH.test: it. Corrected misspelling of hook * tests/event.test: procedure. Restored tests. * tests/http.test: * tests/io.test:
* * library/tcltest/tcltest.tcl: Simplified logic of [GetMatchingFiles]dgp2002-07-021-62/+64
| | | | | | | and [GetMatchingDirectories], removing special case processing. * doc/tcltest.n: More documentation updates. Reference sections are complete. Only examples need adding.
* * doc/tcltest.n: more work in progress updating tcltest docs.dgp2002-07-011-19/+15
| | | | | | | * library/tcltest/tcltest.tcl: Change [configure -match] to stop treating an empty list as a list of the single pattern "*". Changed the default value to [list *] so default operation remains the same.
* * tests/pkg/samename.tcl: restored. needed by pkgMkIndex.test.dgp2002-07-011-10/+9
| | | | | * library/tcltest/tcltest.tcl: restored writeability testing of -tmpdir, augmented by a special exception for the deafault value.
* * Stopped checking for writeability of -tmpdir value because nodgp2002-07-011-4/+10
| | | | default directory can be guaranteed to be writeable.
* * Fixed [makeFile] and [viewFile] to accurately reflect a file'sdgp2002-07-011-26/+45
| | | | | | contents. Updated tests that depended on buggy behavior. Also added warning messages to "-debug 1" operations to debug test calls to (make|remove)(File|Directory).
* * docs/tcltest.n: Doc revisions in progress.dgp2002-06-281-4/+12
| | | | | | * library/tcltest/tcltest.tcl: Corrected -testdir default value. Was not reliable, and disagreed with docs! Thanks to Hemang Lavana. [Bug 575150]
* * Made sure that the TCLTEST_OPTIONSdgp2002-06-271-39/+47
| | | | environment variablle configures tcltest at package load time.
* * Corrected suppression of -verbose skip and start by [test -output].dgp2002-06-261-5/+16
| | | | | Also corrected test suite errors exposed by corrected code. [Bug 564656]
* Excised a tiny amount of the most pointless voodoo. Leftdgp2002-06-261-4/+4
| | | | most of it in there.
* * Implementation of TIP 101. Adds and exports a [configure] commanddgp2002-06-251-819/+713
| | | | from tcltest.
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-1/+4
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* * 4) deprecated [threadReap] and [mainThread] [Bug 534903]dgp2002-06-061-4/+5
|
* * tests/io.test: Fixed up namespace variable resolution issuesdgp2002-06-061-161/+195
| | | | | | | | | | | | revealed by running test suite with "-singleproc 1". * doc/tcltest.n: * library/tcltest/tcltest.tcl: * tests/tcltest.test: Several updates to tcltest. 1) changed to lazy initialization of test constraints 2) deprecated [initConstraintsHook] 3) repaired badly broken [limitConstraints]. [Patch 512214, Bug 558742, Bug 461000]
* * Added more TIP 85 tests from Arjen Markus.dgp2002-06-051-11/+29
| | | | | | Converted tcltest.test to use a private namespace. Fixed bugs in [tcltest::Eval] revealed by calling [tcltest::test] from a non-global namespace, and namespace errors in init.test.
* * Implementation of TIP 85. Allows tcltestdgp2002-06-032-31/+89
| | | | | | | users to add new legal values of the -match option to [test], associating each with a Tcl command that does the matching of expected results with actual results of tests. Thanks to Arjen Markus. [Patch 521362]
* * Corrected [uplevel] quoting whendgp2002-05-081-2/+2
| | | | [source]-ing test script in subdirectories.
* * Made separate export for commandsdgp2002-04-181-5/+6
| | | | kept only for tcltest 1 compatibility.
* * Revised [tcltest::test] to return errorsdgp2002-04-151-21/+14
| | | | | | | when called with invalid syntax and to accept exactly two arguments as documented. Improved error messages. [Bug 497446, Patch 513983] ***POTENTIAL INCOMPATIBILITY***: Incompatible with previous tcltest 2.* releases, found only in alpha releases of Tcl 8.4.
* * corrected misspelling of getMatchingFilesdgp2002-04-081-2/+2
|
* * converted getMatchingFile alias into a proc so safe-2.1 will notdgp2002-04-051-3/+2
| | | | be disturbed
* * namespace protection for the getMatchingFiles alias.dgp2002-04-041-3/+4
|
* * library/tcltest/tcltest.tcl: added getMatchingFiles back (aliashobbs2002-04-041-1/+4
| | | | to GetMatchingFiles), which was a public function in tcltest 1.0.
* * Major code cleanup to deal with whitespace,dgp2002-03-271-1332/+1202
| | | | | coding conventions, and namespace issues, with several minor bugs fixed in the process.
* * More initialization fixes to avoid stomping on global variablesdgp2002-03-251-19/+15
|