summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* * doc/interp.n:Miguel Sofer2004-09-141-5/+12
| | | | | | * generic/tclInterp.c (TclPreventAliasLoop, AliasCreate): * tests/interp.test (17.4-6, 19.3-4): fixing problems with renaming of aliases [Bugs 707104 1026493]. Fix designed by dgp.
* Fix [Bug 1026903] by storing what ensemble the ensemble is cached for.dkf2004-09-131-1/+12
|
* * generic/tclClock.c (TclMktimeObjCmd): Corrected a bad checkKevin B Kenny2004-09-111-1/+21
| | | | | | | | | for error return from 'mktime'. * generic/tclObj.c (Tcl_GetIntFromObj): Corrected a problem where demoting a wide to an int failed on a big-endian machine. [Bug 1026125]. * tests/clock.test (clock-43.1): Added regression test for error return from 'mktime'.
* tcltest-12.3-4 needed to have ::tcltest::loadScript set to empty in their -setupdavygrvy2004-09-111-1/+3
|
* One less crazy long/wide aunt in the attic [Bug 868489]dkf2004-09-101-1/+53
|
* fixed a bug where %z was always positive in :localtimeKevin B Kenny2004-09-101-1/+21
|
* Also corrected faulty prevention of [namespace import] cycles.dgp2004-09-091-1/+45
| | | | [Bug 1017299]
* * generic/tclNamesp.c (Tcl_ForgetImport): Corrected faultydgp2004-09-091-1/+115
| | | | | * tests/namespace.test: logic that relied exclusively on string matching and failed in the presence of [rename]s. [Bug 560297]
* * compat/strftime.c (_conv): Corrected a problem where hour 0Kevin B Kenny2004-09-081-1/+5
| | | | | | would format as a blank format group with %k. * tests/clock.test (clock-41.1): Added regression test case for %k at the zero hour.
* fixed clock-34.* to use same time zone on input and outputKevin B Kenny2004-09-081-9/+9
|
* * generic/tclClock.c (TclClockMktimeObjCmd): Fixed a bug whereKevin B Kenny2004-09-081-1/+22
| | | | | | the month was scanned incorrectly in -timezone :localtime. * tests/clock.test (clock-40.1): Added regression test case for the bug where month was scanned incorrectly in -timezone :localtime.
* * tests/timer.test (timer-1.1, timer-2.1): Changed to (one hopes!)Kevin B Kenny2004-09-071-6/+6
| | | | | be more resilient on an overloaded system, if [after 200] sleeps for 300 ms or longer.
* * generic/tclTimer.c: Removed a premature optimisation thatKevin B Kenny2004-09-071-7/+22
| | | | | | | | | | | | | | | | | | | | | attempted to store the assoc data in the client data; the optimisation caused a bug that [after] would overwrite its imports. [Bug 1016167] * library/clock.tcl (InitTZData, ClearCaches): Changed so that the in-memory time zone :UTC (and its aliases) always gets reinitialised, in case tzdata is absent. [Bug 1019537, 1023779] * library/tzdata/*: Regenerated. * tests/clock.test (clock-31.*, clock-39.1): Corrected a problem where the 'system' locale tests fail on a non-English Windows machine. [Bug 1023761]. Added a test to make sure that alias time zones load correctly. [Bug 1023779]. * tools/tclZIC.tcl (writeLinks): Corrected a problem where alias time zone names were written incorrectly, causing them to fail to load at run time. [Bug 1023779]. * win/tclWinTime.c (Tcl_GetTime): Eliminated CPUID tests on Win64 - assuming that HAL vendors now do a better job of keeping the performance counters synchronized among CPU's. [Bug 1020445]
* two bugs fixed in filesystem docs and testsvincentdarley2004-08-311-2/+2
|
* Fix a crash caused by sharing in [string map]. [Bug 1018562]dkf2004-08-301-1/+5
|
* Fix old tests to check [namespace which] sanely...dkf2004-08-271-4/+5
|
* Make [namespace which] use newer option parsing code for more flexibility.dkf2004-08-271-5/+5
|
* Fix/improve testsdkf2004-08-271-5/+15
|
* Fix [Bug 1017022] by factorizing out the ensemble lookup code and fixing once.dkf2004-08-271-2/+41
|
* * tests/env.test: macosx fixes.das2004-08-261-3/+3
|
* * tests/timer.test (timer-10.1): Test for Bug 1016167.dgp2004-08-251-1/+13
| | | | | | * generic/tclTimer.c: Workaround for situation when a [namespace import] causes the objv[0] value to be something other than what Tcl_AfterObjCmd expects. [Bug 1016167].
* D'oh! Put the correct value in... :^}dkf2004-08-251-2/+2
|
* Stop test from getting stomped by preceding tests...dkf2004-08-251-2/+2
|
* Fixes to ensemble -unknown handler processing to stop [namespace import] fromdkf2004-08-251-1/+27
| | | | | disrupting things horribly. Problem found by Don Porter when investigating [Bug 1016167].
* Fixed bug in CET time spec - times change at 0100 Greenwuch, not local.Kevin B Kenny2004-08-211-2/+2
|
* * tests/clock.test (clock-38.1): Changed TZ setting to specifyKevin B Kenny2004-08-211-2/+2
| | | | | | CET in excruciating detail to deal with systems that lack the Posix defaults for DST changes (and to be formally correct with the change dates for CET).