summaryrefslogtreecommitdiffstats
path: root/tests/tcltest.test
Commit message (Collapse)AuthorAgeFilesLines
* Make sure that all "testchmod" arguments start with '0', making it more ↵jan.nijtmans2014-07-171-18/+18
| | | | | | | | | | | | | | | | obvious that the value is octal. dgp: Isn't the better way to make it obvious the values are octal to use the explicit octal notation? For example, [testchmod 0o777 $path] ? Really seems like a bad idea to me to introduce *more* incompatibilities for the planned conversion for having the value 0777 stop meaning 255 and start meaning 777 in Tcl 9. Answer (Jan). You guessed exactly what's my follow-up plan. This was an intermediate step which keeps all test-cases running.
* Fradin improvements in test suite too.dgp2013-01-301-11/+6
|
* 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.
| * Fixed a number of test issues for Vista and Win7.patthoyts2009-11-101-1/+2
| | | | | | | | | | These test failures are due to the more restrictive permissions on the newer versions of Windows.
| * backport of file writable fixesvincentdarley2006-03-191-1/+2
| |
| * backport tcltest test improvementsdgp2005-02-251-15/+17
| |
| * * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-241-3/+16
| | | | | | | | | | | | | | * 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
| * * tests/tcltest.test: The order in which [glob] returns the file namesrmax2004-11-251-3/+3
| | | | | | | | * tests/fCmd.test: is undefined, so tests should not depend on it.
| * * tests/fileName.test:das2004-11-111-3/+3
| | | | | | | | | | | | | | * tests/fileSystem.test: * tests/io.test: * tests/tcltest.test: fixed bugs causing failures when running tests with -tmpdir arg not set to working dir.
| * 2004-11-02 Don Porter <dgp@users.sourceforge.net>dgp2004-11-021-1/+42
| | | | | | | | | | | | | | | | * 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].
| * * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test (timer-10.1): Backport test for Bug 1016167. * tests/tcltest.test (tcltest-12.3,4): Backport setup corrections. * tests/error.test (error-6.3,4,7,9): Backport of some tests. * tests/basic.test (basic-49.*): * tests/namespace.test (namespace-8.7): * tests/init.test (init-2.8): Updated to not rely on http package. * generic/tclThreadTest.c (ThreadEventProc): Corrected subtle bug where the returned (char *) from Tcl_GetStringResult(interp) continued to be used without copying or refcounting, while activity on the interp continued.
| * * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-261-3/+8
| | | | | | | | | | | | | | | | * 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-261-19/+17
| | | | | | | | | | | | * 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.
| * * tests/tcltest.test: Test corrections for Mac OSX. Thanksdgp2004-05-041-10/+19
| | | | | | | | to Steven Abner (tauvan). [Bug 947440]
| * * tests/tcltest.test: Corrected constraint typos: "nonRoot" ->dgp2004-04-021-4/+4
| | | | | | | | "notRoot". [Bug 928353]
* | Backported permissions fix for Windows 7 to cleanup test directory.patthoyts2009-11-031-1/+2
| |
* | Small fixes to quell tests that fail on some kinds of Win systemsdkf2007-01-181-69/+103
| |
* | * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test.
* | fix to file writeable on windowsvincentdarley2006-03-181-2/+3
| |
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | speed up some testsdgp2005-02-241-7/+7
| |
* | More robust new test tcltest-9.5dgp2005-02-241-7/+9
| |
* | * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-241-3/+16
| | | | | | | | | | | | | | | | | | * 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:
* | * tests/tcltest.test: The order in which [glob] returns the filermax2004-11-251-3/+3
| | | | | | | | names is undefined, so tests should not depend on it.
* | * tests/fileName.test:das2004-11-111-3/+3
| | | | | | | | | | | | | | | | | | * tests/fileSystem.test: * tests/io.test: * tests/msgcat.test: * tests/tcltest.test: * tests/unixInit.test: fixed bugs causing failures when running tests with -tmpdir arg not set to working dir.
* | 2004-11-02 Don Porter <dgp@users.sourceforge.net>dgp2004-11-021-1/+42
| | | | | | | | | | | | | | | | * 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].
* | tcltest-12.3-4 needed to have ::tcltest::loadScript set to empty in their -setupdavygrvy2004-09-111-1/+3
| |
* | Standardize some use of test constraints onto names that are documenteddkf2004-06-231-3/+3
| |
* | * library/tcltest/tcltest.tcl: Correction to debug prints and testingdgp2004-05-261-3/+8
| | | | | | | | | | | | | | | | * 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-261-19/+17
| | | | | | | | | | | | * 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.
* | * tests/tcltest.test: Test corrections for Mac OSX. Thanksdgp2004-05-041-10/+19
| | | | | | | | to Steven Abner (tauvan). [Bug 947440]
* | * tests/tcltest.test: Corrected constraint typos: "nonRoot" ->dgp2004-04-021-4/+4
| | | | | | | | "notRoot". [Bug 928353]
* | 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
|/
* The utility [slave] command failed to properly [list]-quote adgp2003-01-311-3/+5
| | | | | constructed [open] command, causing failure when the pathname contained whitespace. [Bug 678415]
* * tests/tcltest.test: Cleaned up management of file/directorydgp2003-01-311-57/+79
| | | | creation/deletion to improve "-debug 1" output. [Bug 675614]
* * library/tcltest/tcltest.tcl: Corrected [puts -nonewline] withindgp2002-09-221-1/+17
| | | | | | | | 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.
* 2002-09-06 Reinhard Max <max@suse.de>rmax2002-09-061-4/+4
| | | | * tests/tcltest.test: Added nonRoot flag to tests 8.3, 8.4, and 8.12.
* * library/tcltest/tcltest.tcl: The setup and cleanup scripts are nowdgp2002-08-051-1/+19
| | | | | | * 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.
* * Greatly reduced the number of [exec]s, using slave interps instead.dgp2002-07-101-75/+124
| | | | | * Fixed bug uncovered in the conversion where a message was written to stdout instead of [outputChannel].
* * Cleaned up, constrained, and reduced the amount of [exec] usagedgp2002-07-101-9/+11
| | | | in the test suite.
* * tests/main.test: Cheap fix for [Bugs 575851, 575858]. Avoiddgp2002-07-031-16/+24
| | | | | | | * tests/tcltest.test: non-writable . by [cd [temporaryDirectory]]. * library/auto.tcl: Fix [tcl_findLibrary] to be sure it sets $varName only if a successful library script is found. [Bug 577033]
* * Corrected suppression of -verbose skip and start by [test -output].dgp2002-06-261-14/+34
| | | | | Also corrected test suite errors exposed by corrected code. [Bug 564656]
* typo fixesdgp2002-06-261-4/+4
|
* * Implementation of TIP 101. Adds and exports a [configure] commanddgp2002-06-251-28/+25
| | | | from tcltest.
* * More corrections to test suite so that testsdgp2002-06-071-10/+53
| | | | of failing [test]s don't show up themselves as failing tests.
* * Corrections to test suite so that testsdgp2002-06-061-1/+10
| | | | of failing [test]s don't show up themselves as failing tests.
* * tests/io.test: Fixed up namespace variable resolution issuesdgp2002-06-061-42/+47
| | | | | | | | | | | | 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-359/+475
| | | | | | 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.