summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* General clean updkf2004-10-311-190/+63
|
* Remove broken test constraint. [bug 1053908]dkf2004-10-311-3/+2
|
* Make [info globals ::foo] work. [Bug 1057461]dkf2004-10-311-1/+5
|
* * library/tcltest/tcltest.tcl: Correct reaction to errors in thedgp2004-10-301-8/+6
| | | | | | | 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].
* Allow ensembles to rewrite their subcommands' error messages to be moredkf2004-10-295-14/+45
| | | | | | relevant to users. [Patch 1056864] Also patches to core to take advantage of this Also other general cleaning up of Tcl_WrongNumArgs usage
* fix for execution stack corruption [Bug 1055676]. Credit dgp for detectiveMiguel Sofer2004-10-281-1/+23
| | | | work and fix.
* D'oh!dgp2004-10-281-2/+2
|
* * tests/socket.test (socket-13.1): Balanced [makeFile] anddgp2004-10-281-25/+25
| | | | [removeFile] commands.
* * tests/clock.test: Correct duplicate test names.dgp2004-10-284-12/+12
| | | | | | * tests/namespace.test: * tests/string.test: * tests/io.test (io-50.4): Use namespace variables.
* * tests/registry.test: Fixed test files to load the correctdavygrvy2004-10-272-147/+145
| | | | | | | | | * tests/winDde.test: registry and dde packages by using the info * win/Makefile.in: from makefiles to tell tcltest where to load * win/makefile.vc: them from. This avoids grabbing the wrong package from $auto_path which might be the install point rather than the dev location. Kudos to Jennifer Hom for adding -load and -loadfile to the tcltest package. [Bug 926088]
* fixed format-19.1 for 64 bit machinesKevin B Kenny2004-10-271-3/+3
|
* * tests/tm.test: Expanded on the testsuite entered by Donal.andreas_kupries2004-10-271-5/+195
| | | | * library/tm.tcl: Even found bugs, these have been corrected.
* additional regression test for Bug 868489Kevin B Kenny2004-10-271-1/+9
|
* * generic/tclParse.c (Tcl_SubstObj): Fix for failed subst-12.3 test.dgp2004-10-261-1/+9
| | | | * tests/subst.test (subst-12.3-5): More tests for Bug 1036649.
* Reversed expected result from test subst-12.3.dgp2004-10-261-2/+2
|
* * tests/subst.test (subst-12.3,4): More tests for Bug 1036649.dgp2004-10-261-1/+17
|
* * tests/basic.test: Added missing constraints.dgp2004-10-264-17/+16
| | | | | | | * tests/compile.test: * tests/fileSystem.test: * tests/init.test (init-2.8): Updated to not rely on http package.
* fixes for Bug 1054101Kevin B Kenny2004-10-261-1/+43
|
* Remove some of the contortions from cmdAH-8.45dkf2004-10-251-8/+10
|
* * generic/tclExecute.c (IllegalExprOperandType,TclExecuteByteCode):dgp2004-10-251-2/+2
| | | | | | | | | | | | | Removed several DECACHE_INFO/CACHE_INFO pairs that are no longer needed for protection because routines like Tcl_SetErrorCode() and Tcl_AddErrorInfo() can no longer re-enter bytecode execution. * generic/tclResult.c (TclProcessReturn): Bug fix. Be sure that a missing -errorinfo option when code == TCL_ERROR causes the errorInfo field to get reset. * tests/thread.test (thread-4.4): Test depended on a ::errorInfo value initialized to "". Added code to test to setup that requirement.
* Flesh out tests and transform the TM manager API into an ensembledkf2004-10-251-8/+23
|
* Add *very* basic test suite for modules, and tighten up the doc styledkf2004-10-221-0/+40
|
* Make ensembles report shorter error traces that conceal more of how thedkf2004-10-221-7/+5
| | | | ensemble implements itself. This is usually the right thing to do.
* * library/clock.tcl: Fixed a typo where the fallback time zoneKevin B Kenny2004-10-221-1/+23
| | | | | | | | | became ::localtime instead of :localtime. Fixed a bug where time zone names containing hyphens could not be loaded. Thanks to Todd M. Helfter <tmh@jumpgate.itsp.purdue.edu> for finding these bugs. * tests/clock.test: Added regression test cases that covers both bugs.
* Stop losing result codes in [dict with] in some circumstancesdkf2004-10-191-1/+13
|
* TIP#217 implementationdkf2004-10-141-2/+8
|
* Fix things so we can pass our own test suite for TIP#212...dkf2004-10-081-6/+6
|
* Basic tests for TIPs #201 and #212dkf2004-10-082-2/+151
|
* update test for TIP 212dgp2004-10-081-2/+2
|
* filesystem generic/platform code splittingvincentdarley2004-10-072-9/+54
|
* * tests/clock.test (clock-34.*): Removed an antibug that forcedKevin B Kenny2004-10-041-9/+9
| | | | | | comparison of [clock scan] results with the :localtime time zone. Now that [clock scan] uses the current time zone instead, the antibug caused several tests to fail. [Bug 1038554]
* Stop words starting with 'eq' or 'ne' from being subdivided by the expressiondkf2004-10-041-1/+9
| | | | parser. [Bug 884830]
* Modify the semantics of [dict set] to be what everyone expected them to bedkf2004-10-021-4/+4
| | | | | in a straw poll. Also made T_DODone;T_DONext a non-fatal sequence, leading to simplified code.
* * tests/namespace.test (namespace-8.7): Another test for save/restoredgp2004-10-021-1/+8
| | | | of ::errorInfo and ::errorCode during global namespace teardown.
* * generic/tclBasic.c (Tcl_EvalObjEx): Removed the flag bit valuedgp2004-10-011-3/+3
| | | | | | | * generic/tclInt.h (Interp): USE_EVAL_DIRECT. It was used only * generic/tcLTest.c (TestevalexObjCmd): in the testing command * tests/parser.test (parse-9.2): [testevalex] and nothing in the test suite made use of the capability it enabled.
* * generic/tclBasic.c (Tcl_AddObjErrorInfo): More re-organizationdgp2004-09-303-3/+58
| | | | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c (Tcl_ErrorObjCmd): of the management of * generic/tclCmdMZ.c (TclProcessReturn): the errorCode value. * tests/error.test (error-6.4-9): * generic/tclNamespace.c (TclTeardownNamespace): Tcl_Obj-ified * tests/namespace.test (namespace-8.5,6): the save/restore of ::errorInfo and ::errorCode during global namespace teardown. Revised the comment to clarify why this is done, and added tests that will fail if this is not done. * generic/tclResult.c (TclTransferResult): Added safety checks so that unexpected undefined ::errorInfo or ::errorCode will not lead to a segfault. * generic/tclTrace.c (TclCallVarTraces): Save/restore the flag * tests/var.test (var-16.1): values that define part of the interpreter state during variable traces. [Bug 10381021].
* * tests/subst.test (12.1-2): added tests for [Bug 1036649]Miguel Sofer2004-09-301-1/+16
|
* * tests/basic.test (49.*): New tests for TCL_EVAL_GLOBAL.dgp2004-09-291-1/+21
|
* * generic/tclBasic.c: Removed internal routines TclInvoke,dgp2004-09-271-11/+2
| | | | | | | | | | | | | | | * generic/tclInt.decls: TclGlobalInvoke, TclObjInvokeGlobal and * tests/basic.test: the portion of TclObjInvoke that handles calls without TCL_INVOKE_HIDDEN enabled. None of this code is called any longer within the core, and the superior public interface, Tcl_EvalObjv, is available for any external callers. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclEvent.c (HandleBgErrors): Updated [bgerror] invocations to make use of Tcl_Obj based routines, dropping the calls to TclGlobalInvoke()
* fix to small filesystem bugsvincentdarley2004-09-273-12/+38
|
* Report compilation errors at runtime, [Patch 103368] by dgp.Miguel Sofer2004-09-267-204/+170
|
* Fix spelling of test names...dkf2004-09-241-21/+21
|
* * generic/tclBasic.c: Corrections to the 2004-09-21 commitdgp2004-09-242-2/+33
| | | | | | | | * generic/tclExecute.c: regarding ERR_ALREADY_LOGGED. That commit * generic/tclNamesp.c: caused Tk test send-10.7 to fail. Added * tests/namespace.test (25.7,8): tests in the Tcl test suite * tests/pkg.test (2.25,26): to catch this error without the aid of Tk in the future.
* * generic/tclCmdMZ.c (TclProcessReturn): Support the -errorlinedgp2004-09-222-4/+17
| | | | | | | * generic/tclCompile.c (TclCompileScript): option to [return]. * tests/compile.test (16.23.*): Use that capability to defer reporting * tests/misc.test (1.2): of parse errors until runtime. Updated tests to reflect change. [Bug 1032805]
* * generic/tclExecute.c (INST_START_CMD):Miguel Sofer2004-09-221-1/+31
| | | | | * tests/proc.test (7.2-3): fix for [Bug 729692] was incorrect whenever a loop exception was returned.
* * generic/tclCompCmds.c: Tolerate [append] syntax errorsdgp2004-09-221-2/+16
| | | | | * tests/appendComp.test (8.1): at compile time, and allow runtime to raise the error (or succeed if a redefined [append] allows).
* * tests/error.test (error-6.2,3): Added more tests to verifydgp2004-09-201-1/+10
| | | | ::errorCode setting by/after a [catch].
* Some tests were non-portable, alas.dkf2004-09-191-3/+3
|
* Fix silly mistakes :} and make sure that the original bug is a test case.dkf2004-09-181-3/+4
|
* Make sure large shifts shift for real. [Bug 868467]dkf2004-09-181-1/+11
|