summaryrefslogtreecommitdiffstats
path: root/library/tcltest
Commit message (Collapse)AuthorAgeFilesLines
* (c) -> ©, now that TIP #587 is acceptedjan.nijtmans2021-09-021-3/+3
|
* Merge 8.6jan.nijtmans2021-01-281-1/+1
|\
| * Use "in" operator in stead of "lsearch -exact" when possiblejan.nijtmans2021-01-281-1/+1
| |
| * Backport "tcltest" package from 8.7. No changes when running on 8.5 or 8.6jan.nijtmans2020-12-041-7/+20
| |
* | tcltest -> 2.5.4. Version change should have been done at this commit: ↵jan.nijtmans2021-01-062-2/+2
| | | | | | | | [95852bc2ed0e2c11]
* | TIP #587 follow-up: Looks like -encoding utf-8 still was missing in some ↵jan.nijtmans2020-12-281-0/+18
| | | | | | | | places, only visible on Windows
* | Merge 8.6jan.nijtmans2020-12-041-1/+1
|\ \
* | | Another TIP #589 side-effect: Make sure that the encoding used in ↵jan.nijtmans2020-12-011-3/+6
| | | | | | | | | | | | ::tcltest::viewFile matches the one in ::tcltest::makeFile
* | | Fix 2 testcases in Windows. Cause: tcltest::makeFile should assume the same ↵jan.nijtmans2020-12-011-3/+13
|/ / | | | | | | | | encoding as the "source" command uses (TIP #589) Aso remove the ::tcltest::bytestring command: It doesn't work any more starting Tcl 8.7 since the "identity" encoding is gone (TIP #345)
* | Don't use "Copyright <year> _by_" any more. This results in more ↵jan.nijtmans2020-11-201-2/+2
|/ | | | consistant copyright statements in the (html) documentation
* Backport many (formatting) changes in tools/*. Nothing functional.jan.nijtmans2020-09-201-2/+2
| | | testest.tcl: Use more uppercase hex.
* Proposed solution for [835c93c000]: TIP #525 only implemented for ↵jan.nijtmans2020-09-161-5/+14
| | | | non-singleproc case
* Use $index<0 in stead of $index==-1 consistantlyjan.nijtmans2020-09-111-3/+3
|
* Backport changes in tcltest package from higher Tcl versions.jan.nijtmans2020-07-202-13/+24
| | | | Rename (internal, undocumented) tcltest::loadIntoSlaveInterpreter into tcltest::loadIntoChildInterpreter tcltest 2.5.1 -> 2.5.3
* introduces new command and constraint testWithLimit (as include ↵sebres2020-01-301-1/+1
| | | | tests/internals.tcl) that can be used to test a code under restricted circumstances (e.g. limited address space)
* small amend (whitespace, no functional)sebres2019-12-091-1/+1
|
* rewrite of [dff608952b]: skip tests if there is really a timing issue (and ↵sebres2019-12-061-15/+51
| | | | implements new feature ::tcltest::Skip which allows conditionally skipping of tests at runtime)
* If tcltest's removeFile fails for a non-expected reason (e.g. Windows keeps ↵jan.nijtmans2019-08-262-3/+8
| | | | | the file locked), this should not result in a test failure, just a warning. Observed in this Travis build: [https://travis-ci.org/tcltk/tcl/jobs/576443957] Tcl test 2.5.0 -> 2.5.1
* [86d249bcba] Make sure that tcltest::runAllTests actually returns 1 on failure.dgp2018-11-081-1/+3
| | | Repairs TIP 525 Implementation.
* [TIP 525] Backport package tcltest 2.5dgp2018-10-292-45/+86
|
* (temporary) backout [0386db909a]: Enable CI builds with Travis. This enables ↵jan.nijtmans2018-10-271-2/+2
| | | | everything else to merge-marked to 8.6. Will put it back in the next commit
* Enable CI builds with Travis.dkf2018-10-231-2/+2
|\
| * Disable windows builds. Make test failures fatal.dkf2018-10-211-2/+2
| |
* | code review, skip slow test winpipe-8.2 executed args from injectList ↵sebres2018-08-231-0/+4
|/ | | | particularly (normally winpipe-8.3 covers the same but jointly), to enable use parameter `-constraints slowTest`, added new test with randomly generated potentially dangerous args
* Fix execute-6.5 test failure on trunk: the "preserveCore" part of ↵jan.nijtmans2014-06-231-33/+33
| | | | tcltest::test assumes that the cleanup is done first, so moving the cleanup means the the "preserverCore" part needs to move with it.
* previous commit was not quite right, this one should be betterjan.nijtmans2014-06-201-14/+14
|
* ticket [2f9df4c4fa]: tcltest - request to move -cleanup script execution ↵jan.nijtmans2014-06-202-8/+8
| | | | until after -output compare
* The only relyable way of changing environment variables to uppercase (e.g. ↵jan.nijtmans2013-11-211-8/+3
| | | | env(ComSpec) to env(COMSPEC)) is unsetting the old one first. Long-standing bug, exposed by [219226].
* Safer clean-up of environment variables: Do removal after insertions -> ↵jan.nijtmans2013-11-202-6/+9
| | | | tcltest 2.3.7
* Bump tcltest version to 2.3.6 (should have been done just before the 8.5.15 ↵jan.nijtmans2013-10-282-2/+2
| | | | | release, just as in Tcl 8.6.1). Don't fix eol-style for Makefile.in in "make dist", if the file system is case-insensitive/case-preserving.
* More improvements found browsing tcltest.dgp2013-01-301-11/+1
|
* For tcltest, selected modernizations and style improvements from Patrick Fradin.dgp2013-01-301-108/+100
|
* Disable the legacy configuration setting from $::argv only when a settingdgp2012-12-032-3/+5
|\ | | | | | | call to [configure] is made. Queries should not disturb that support. Bump to tcltest 2.3.5.
| * Disable the legacy configuration setting from $::argv only when a settingdgp2012-12-032-3/+5
| | | | | | | | call to [configure] is made. Queries should not disturb that support. Bump to tcltest 2.2.11.
* | [Bug 967195]: Make tcltest work when tclsh is compiled without using the ↵jan.nijtmans2011-11-302-4/+12
|\ \ | |/ | | | | setargv() function on mingw.
| * [Bug 967195]: Make tcltest work when tclsh is compiled without using the ↵jan.nijtmans2011-11-301-2/+10
| | | | | | | | | | setargv() function on mingw (no need to incr the version, since 2.2.10 is never released)
* | 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.