summaryrefslogtreecommitdiffstats
path: root/tests/tcltest.test
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* 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.
* * Implementation of TIP 85. Allows tcltestdgp2002-06-031-8/+111
| | | | | | | 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 some list-quoting issues anddgp2002-05-101-4/+4
| | | | | other matters that cause tests to fail when the patch includes special characters. Report from Vince Darley. [Bug 554068].
* * Fixes to test suite when there's a spacedgp2002-05-081-13/+16
| | | | in the working path. Thanks to Kevin Kenny.
* * Revised [tcltest::test] to return errorsdgp2002-04-151-21/+25
| | | | | | | 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.
* * Major code cleanup to deal with whitespace,dgp2002-03-271-10/+10
| | | | | coding conventions, and namespace issues, with several minor bugs fixed in the process.
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-7/+10
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* * tests/tcltest.test: added unixExecs constraint to files thathobbs2001-08-221-4/+4
| | | | used 'grep' in the test. [Bug #453143]
* * tests/tcltest.test (tcltest-12.2): fixed test that would breakhobbs2001-08-221-3/+3
| | | | when env vars weren't Tcl list friendly [Patch #454046] (stanton)
* * tests/tcltest.test (tcltest-19.1): fixed failing test that washobbs2001-05-221-9/+14
| | | | getting affected by Windows env handling of empty valued elements.
* * tests/tcltest.test: removed extraneous 'c' (doh!) [Bug: 414031]hobbs2001-05-031-2/+2
|
* * tests/all.tcl: Removed support for tcltest 1.0.jenn2000-10-241-123/+1025
| | | | | | | | | | * tests/tcltest.test: * library/tcltest1.0/tcltest.tcl: * library/tcltest1.0/pkgIndex.tcl: * docs/tcltest.n: Moved tcltest2 code so that it's the standard version of tcltest. Removed all tcltest2 files (tests/tcltest2.test, library/tcltest1.0/tcltest2.tcl, docs/tcltest2.n).
* * library/tcltest1.0/pkgIndex.tcl: Updated to load tcltest 2.0.jenn2000-09-201-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * library/tcltest1.0/tcltest2.tcl: New version of tcltest. Cleanup of command line parsing: allows users to specify command line arguments through an environment variable named TCLTEST_OPTIONS [RFE: 3748], does not respond to incorrect arguments, and forces usage of entire flag name when using command line arguments. Defines accessor procs for all tcltest variables. Allows users to use 'return' in test scripts. Allow users to specify whether test files should be sourced or run in a separate process. 'all.tcl' code moved to tcltest package. 'test' proc modified to use attribute-value pairs. Allow users to specify what return codes, output, and errors can be compared and whether these values should be compared using regexp, glob, or exact matching. makeDirectory & removeDirectory now operate with respect to temporaryDirectory [Bug: 6001]. Test results from tests run in slave interpreters are now included in test totals [Bug: 1493]. Test files that return error values are now reported. * tests/all.tcl: Added code to check for the tcltest version loaded; modified to figure out which tests to run based on the tcltest version loaded. * tests/tcltest.test: Modified to explicitly load version 1.0 of tcltest. * tests/tcltest2.test: New test suite for tcltest; includes all of the old tests plus new ones reflecting changes made for version 2.0. * tests/cmdAH.test: Added singleTestInterp constraint to cmdAH-31.2; this test does not run if tests aren't sourced into a single interpreter. * tests/socket.test: Fixed two tests that were referencing variables outside of scope. * tools/tcl.wse.in: Added code to install tcltest2.tcl. * doc/tcltest2.n: New documentation for tcltest version 2.0. Removes documentation for tcltest namespace variables. Adds documentation for new tcltest procs. * unix/mkLinks: Added code to link to tcltest2.n. * generic/tcl.h: Added comment to modify tcltest2.tcl as well as tcltest.tcl for version changes.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-8/+8
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/tcltest.test:jenn1999-10-191-3/+47
| | | | | | | | | | | * doc/tcltest.n: * library/tcltest1.0/tcltest.tcl: Removed the extra return at the end of the tcltest.tcl file. Applied patches sent in by Andreas Kupries to add helper procs for debug output, add 3 new flags (-testsdir, -load, -loadfile), and internally refactors common code for dealing with paths into separate procedures. [Bug: 2838, 2842]
* * tests/env.test:jenn1999-08-271-4/+5
| | | | | | | | | * tests/exec.test: * tests/io.test: * tests/event.test: * tests/tcltest.test: Added 'exit' calls to scripts that the tests themselves write, and removed accidental checkin of knownBugThreaded constraints for Solaris and Linux.
* * tests/tcltest.test:jenn1999-08-271-3/+26
| | | | | | * library/tcltest1.0/tcltest.tcl: Added a -args flag that sets a variable named ::tcltest::parameters based on whatever's being sent in as the argument to the -args flag.
* * tests/tcltest.test: Added additional tests for -tmpdir, markedjenn1999-08-231-43/+82
| | | | | | | | | | | | | | all tests that use exec as unixOrPc. * tests/encoding.test: * tests/interp.test: * tests/macFCmd.test: * tests/parseOld.test: * tests/regexp.test: Applied patches from Jim Ingham to add encoding to a Mac only interp test, change an error message in macFCmd.tet, put a comment in parseOld.test, fix tests using the testencoding path command, and put unixOrPc constraints on tests that use exec.
* 1999-08-09 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-101-2/+3
| | | | | | * tests/string.test: added largest_int proc to adapt for >32 bit machines and int overflow testing. * tests/tcltest.test: fixed minor error in 8.2 result (from dgp)
* Updated to match the new return values from tcltest.jenn1999-07-301-4/+4
|
* * tests/tcltest.test:jenn1999-07-281-3/+4
| | | | | | | | * library/tcltest1.0/tcltest.tcl: Fixed the condition under which ::tcltest::PrintError had an infinite loop problem and added a test case for it. Added an optional argument to ::tcltest::getMatchingFiles telling it where to search for test files.
* Bug fixes for threaded Tcl on NT with single and dual CPUs. Still someredman1999-07-271-2/+3
| | | | open issues, this code is a little more stable though.
* Tests for the tcltest packagejenn1999-07-261-0/+296