summaryrefslogtreecommitdiffstats
path: root/library/tcltest
Commit message (Collapse)AuthorAgeFilesLines
* tcltest 2.3.3 fixes:dgp2011-06-211-2/+2
| | | | | | | * Use [package ifneeded] so slave gets exactly same tcltest version as master * Use [configure] command instead of legacy ::argv magic to pass tcltest configuration options to slave interp. Test files using the new [loadIntoSlaveInterpreter] command updated to declare their need for tcltest 2.3.3 as minimum acceptable release.
* Backport tcltest 2.3.3 for release with Tcl 8.5.*dgp2011-06-212-2/+33
|
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ | | | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * library/tcltest/tcltest.tcl: Fixed unsafe [eval]s in the tcltestdgp2009-04-082-8/+8
| | | | | | | | * library/tcltest/pkgIndex.tcl: package. [Bug 2570363]
| * * library/tcltest/tcltest.tcl: Accept underscores and colons indgp2007-09-112-5/+5
| | | | | | | | | | | | * library/tcltest/pkgIndex.tcl: constraint names. Properly handle constraint expressions that return non-numeric boolean results like "false". Bump to tcltest 2.2.9. [Bug 1772989; RFE 1071322]
| * * 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]
* | * library/tcltest/tcltest.tcl: Bump to tcltest 2.3.2 after revisiondgp2009-09-012-3/+3
| | | | | | | | | | | | * library/tcltest/pkgIndex.tcl: to verbose error message. * unix/Makefile.in: * win/Makefile.in:
* | add "error:" to -verbose line test failure output to satisfy stricter log ↵das2009-08-301-2/+2
| | | | | | | | parsers like Xcode 3.2
* | * library/tcltest/tcltest.tcl: Converted [eval]s (some unsafe!) todgp2009-04-082-11/+11
| | | | | | | | | | | | * library/tcltest/pkgIndex.tcl: {*} in tcltest package. [Bug 2570363] * unix/Makefile.in: => tcltest 2.3.1 * win/Makefile.in:
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * library/tcltest/tcltest.tcl: Bump tcltest to version 2.3.0 so thatdgp2007-12-032-3/+3
| | | | | | | | | | | | * library/tcltest/pkgIndex.tcl: we release a stable tcltest with a * unix/Makefile.in: stable Tcl. * win/Makefile.in:
* | * library/tcltest/tcltest.tcl: Accept underscores and colons indgp2007-09-112-8/+6
| | | | | | | | | | | | | | * library/tcltest/pkgIndex.tcl: constraint names. Properly handle constraint expressions that return non-numeric boolean results like "false". Bump to tcltest 2.3b1. [Bug 1772989; RFE 1071322] * tests/info.test: Disable fragile tests.
* | * library/tcltest/tcltest.tcl: use [info frame] for "-verbose line".das2006-12-081-8/+17
| |
* | * generic/tclBasic.c: TIP #280 implementation.andreas_kupries2006-11-281-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
* | * library/tcltest/tcltest.tcl: Revise tcltest bump to 2.3a1.dgp2006-10-162-3/+5
| | | | | | | | | | | | | | * library/tcltest/pkgIndex.tcl: This permits more features to be * unix/Makefile.in: added to tcltest before we reach version 2.3.0, * win/Makefile.in: best timed to match the release of Tcl 8.5.0. * win/makefile.vc: This also serves as a demo of TIP 268 features.
* | * doc/tcltest.n: Bump to version tcltest 2.3.0 to accountdgp2006-09-112-3/+3
| | | | | | | | | | | | | | | | | | * library/tcltest/pkgIndex.tcl: for new "-verbose line" feature. * library/tcltest/tcltest.tcl: * unix/Makefile.in: * win/Makefile.in: * win/makefile.bc: * win/makefile.vc:
* | * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-101-7/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/msgcat.test: default msgcat locale to * unix/tclUnixInit.c (TclpSetVariables): current CFLocale identifier if available (via private ::tcl::mac::locale global, set at interp init when on Mac OS X 10.3 or later with CoreFoundation). * library/tcltest/tcltest.tcl: add 'line' verbose level: prints source * doc/tcltest.n: file line information of failing tests. * macosx/Tcl.xcodeproj/project.pbxproj: add new tclUnixCompat.c file; revise tests target to use new tcltest 'line' verbose level. * unix/configure.in: add descriptions to new AC_DEFINEs for MT-safe. * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | * 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 * unix/Makefile.in: * win/Makefile.in:
* | 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 * unix/Makefile.in: * tests/all.tcl: Update to use [tcltest::configure].
* | * 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.
* | Reverted changes to tcltest so that it can still support Mac whendgp2004-03-171-1/+4
| | | | | | | | copied to Mac systems (only requires Tcl 8.3).
* | Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-4/+1
| |
* | * 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]
* | * generic/tclBasic.c: Implementation of TIP 90, whichdgp2003-05-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c: extends the [catch] and [return] * generic/tclCompCmds.c: commands to enable creation of a * generic/tclExecute.c: proc that is a replacement for * generic/tclInt.h: [return]. [Patch 531640] * generic/tclProc.c: * generic/tclResult.c: * tests/cmdAH.test: * tests/cmdMZ.test: * tests/error.test: * tests/proc-old.test: * library/tcltest/tcltest.tcl: The -returnCodes option to [test] 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-261-1/+8
| | | | | | | | | | | | | | | | [configure -debug 1] operations to warn about multiple uses of the same test name. [FR 576693] * tests/msgcat.test (msgcat-2.2.1): changed test name to avoid duplication. [Bug 710356]
* | * library/auto.tcl: Replaced [regexp] and [regsub] withdgp2003-03-192-11/+8
|/ | | | | | | | | | | | | | | * library/history.tcl: [string map] where possible. Thanks * library/ldAout.tcl: to David Welton. [Bugs 667456,667558] * library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and * library/http/http.tcl: tcltest 2.2.3. * library/http/pkgIndex.tcl: * library/opt/optparse.tcl: * library/opt/pkgIndex.tcl: * library/tcltest/tcltest.tcl: * library/tcltest/pkgIndex.tcl: * tools/genStubs.tcl: * tools/tcltk-man2html.tcl: * unix/mkLinks.tcl:
* 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
|