summaryrefslogtreecommitdiffstats
path: root/library/tcltest/tcltest.tcl
Commit message (Collapse)AuthorAgeFilesLines
...
* * 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-031-30/+88
| | | | | | | 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
|
* More variable initialization fixes.dgp2002-03-251-53/+38
|
* * Corrected faulty variable initialization. [Bug 534845]dgp2002-03-251-110/+47
|
* * Improve the processing of the -constraints option to [test] so thatdgp2002-03-251-3/+3
| | | | | constraint lists can have arbitrary whitespace, and non-lists don't blow things up. [Bug 495977]
* * Keep the value of $::auto_pathdgp2002-03-251-4/+1
| | | | | | unchanged, so that the tcltest package can test code that depends on auto-loading. If a testing application needs $::auto_path pruned, it should do that itself. [Bug 495726]
* * Use [interpreter] to set/query thedgp2002-03-241-10/+10
| | | | executable currently running the tcltest package. [Bug 454050]
* * Allow non-proc commands to be useddgp2002-03-241-6/+6
| | | | as the customization hooks. [Bug 495662]
* * Bumped tcltest to 2.0.2dgp2002-03-111-2/+2
|
* * library/tcltest/tcltest.tcl (getMatchingFiles): Passmdejong2002-03-111-3/+4
| | | | | a proper list to foreach to avoid munging a Windows patch like D:\Foo\Bar into D:FooBar before the glob.
* fsvincentdarley2001-09-061-1/+12
|
* * library/tcltest/tcltest.tcl: fixed stdio constraint test.hobbs2001-08-221-54/+27
| | | | | [Patch #454050] (stanton) Simplified unixExecs constriant test.
* Added checks for package dependencies.dgp2001-08-091-2/+4
| | | | | Bumped patchlevels of changed packages: http 2.3.2, msgcat 1.2.2, opt 0.4.3, tcltest 2.0.1. [Patch 448931]
* Missed a few spots with the previous checkin. Now onlydkf2000-11-241-8/+6
| | | | | | | | tools/tcltk-man2html.tcl is left unfixed, but that file is sufficiently complex that I don't dare touch it without understanding exactly what all of the supposed directory separators are doing there. In any case, this file is probably not going to be used by ordinary users; developers can put up with a few more "pointless restrictions"...
* * library/tcltest1.0/tcltest.tcl: Removed a cd into the testjenn2000-10-271-4/+1
| | | | | | directory in runAllTests that screwed up the temporary directory setting, effectively preventing users from running tests on multiple platforms at the same time.
* * tests/all.tcl: Removed support for tcltest 1.0.jenn2000-10-241-821/+2406
| | | | | | | | | | * 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).
* * README:hobbs2000-09-061-2/+2
| | | | | | | | | | | * generic/tcl.h: * library/tcltest1.0/tcltest.tcl: * tools/tcl.wse.in: * tools/tcltk-man2html.tcl: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: updated patchlevel to 8.4a2
* * library/tcltest1.0/tcltest.tcl: Set debug level inericm2000-08-151-4/+4
| | | | | tcltest::restoreState to 2, for consistancy with the debug level in tcltest::saveState [Bug: 4505].
* * README:hobbs2000-05-031-3/+3
| | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * library/reg1.0/pkgIndex.tcl: * library/tcltest1.0/tcltest.tcl: * mac/README: * tools/tcl.hpj.in: * tools/tcl.wse.in: * unix/README: * unix/configure.in: * unix/tcl.spec: * win/README: * win/README.binary: * win/configure.in: * win/makefile.vc: * win/tcl.m4: updated patchlevel to 8.4a1
* Updated to work with thread extension, if presentwelch2000-04-111-3/+26
|
* * library/tcltest1.0/tcltest.tcl (initConstraints): removed win32shobbs2000-04-081-5/+1
| | | | references (no longer supported)
* * library/tcltest1.0/tcltest.tcl: correctly protected searchDirectoryhobbs2000-02-081-6/+6
| | | | list to allow dirnames with spaces
* * library/tcltest1.0/tcltest.tcl: Changed NormalizePath tojenn2000-01-271-6/+6
| | | | | | | | normalizePath and exported it as a public proc. This proc creates an absolute path given the name of the variable containing the path to modify. The path is modified in place. * library/tcltest1.0/pkgIndex.tcl: Added normalizePath. * tests/all.tcl: Changed code to use normalizePath.
* * library/tcltest1.0/tcltest.tcl: Fixed bug where tcltest outputstanton1999-11-231-2/+3
| | | | | went to stdout instead of the specified output file in some cases.
* Changed references to the README to references to the man page for tcltest.jenn1999-11-041-3/+3
|
* * library/tcltest1.0/tcltest.tcl: updated makeFile to returnhobbs1999-10-291-6/+5
| | | | full pathname of file created
* Changed update to 'after 1' to cause a true sleep in the currenthobbs1999-10-211-2/+5
| | | | thread, avoiding numerous superfluous thread send calls.
* Merged code from core-8-2-1 branch that changes the checks for thejenn1999-10-201-4/+8
| | | | | value of tcl_interactive to also incorporate a check for the existence of the variable.
* * tests/tcltest.test:jenn1999-10-191-119/+324
| | | | | | | | | | | * 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]
* * library/tcltest1.0/tcltest.tcl: Applied patches sent in byjenn1999-09-211-22/+33
| | | | | | Andreas Kupries to fix typos in comments and ::tcltest::grep, fix hook redefinition problems, and change "string compare" to "string equal." [Bug: 2836, 2837, 2839, 2840]
* Process command-line arguments only ::tcltest doesn't have ajenn1999-09-011-2/+4
| | | | | child namespace (requires that command-line args are processed in that namespace)
* * library/tcltest1.0/tcltest.tcl:jenn1999-08-311-3/+1
| | | | | | | * doc/tcltest.n: * tests/README: Modified testConstraints variable so that it isn't unset every time ::tcltest::initConstraints is called and cleaned up documentation in the README file and the man page.
* * library/tcltest1.0/tcltest.tcl: Modified tcltest so thatjenn1999-08-271-46/+105
| | | | | variables are only initialized to their default values if they did not previously exist.
* * tests/tcltest.test:jenn1999-08-271-5/+12
| | | | | | * 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.
* Exit with non-zero status if there were problems with the way the testjenn1999-07-301-7/+7
| | | | suite was started (e.g. wrong # arguments)
* * tests/tcltest.test:jenn1999-07-281-14/+16
| | | | | | | | * 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.
* * tests/tcltest.test:jenn1999-07-261-76/+103
| | | | | | * library/tcltest1.0/tcltest.tcl: * doc/tcltest.n: Cleaned up code in ::tcltest::PrintError, revised documentation, and added tests for the tcltest package.
* Catch the cd that sets up the initial value for the testsDirectory variable.jenn1999-07-121-2/+2
|
* Removed -asidefromdir and -relateddir flags, removed unusedjenn1999-07-091-113/+137
| | | | | ::tcltest::dotests proc, cleaned up implementation of core file checking, and fixed the code that checks for 1-letter flag abbreviations.
* Fixed broken utility function makeFile.rjohnson1999-07-081-7/+2
|