summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Added test for [Bug 2130726].dkf2008-09-281-1/+4
|
* * generic/tclBasic.c: Fix the numLevels computations onMiguel Sofer2008-09-281-1/+87
| | | | | * generic/tclInt.h: coroutine yield/resume * tests/unsupported.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-9/+13
| | | | | | * doc/lrepeat.n: Revise [lrepeat] to accept both zero * generic/tclCmdIL.c: repetitions and zero elements to be repeated. * tests/lrepeat.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-1/+11
| | | | | | * doc/object.n: Revise standard oo method [my variable] to * generic/tclOOBasic.c: accept zero variable names. * tests/oo.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-5/+5
| | | | | | * doc/tm.n: Revise [tcl::tm::path add] and * library/tm.tcl: [tcl::tm::path remove] to accept zero paths. * tests/tm.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-1/+14
| | | | | | * doc/namespace.n: Revise [namespace upvar] to accept zero * generic/tclNamesp.c: variable names. * tests/upvar.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-261-7/+7
| | | | | | * doc/lassign.n: Revise [lassign] to accept zero variable names. * generic/tclCmdIL.c: * tests/cmdIL.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-251-7/+7
| | | | | | | | * doc/global.n: Revise [global] to accept zero variable names. * doc/variable.n: Revise [variable] likewise. * generic/tclVar.c: * tests/proc-old.test: * tests/var.test:
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-252-5/+11
| | | | | | | | | * doc/global.n: Revise [global] to accept zero variable names. * generic/tclVar.c: * tests/proc-old.test: * tests/var.test: * doc/global.n: Correct false claim about [info locals].
* * tests/platform.test: Update tests to expect revised resultsdgp2008-09-252-3/+3
| | | | * tests/safe.test: corresponding to the TIP 315 change.
* Fix [Bug 2120903]dkf2008-09-251-12/+25
|
* TIP #323 IMPLEMENTATION (partial)dgp2008-09-242-8/+12
| | | | | | | | * doc/file.n: Revise [file delete] and [file mkdir] to * generic/tclCmdAH.c: accept zero "pathname" arguments (the * generic/tclFCmd.c: no-op case). * tests/cmdAH.test: * tests/fCmd.test:
* Implementation of TIP #320.#320.#320.dkf2008-09-231-3/+190
|
* Use the powers of tcltest2 for good! Also add basic testing of disassmblerdkf2008-09-106-1440/+1394
| | | | (though not of its output format).
* * tests/nre.test: add missing constraints; enable test of foreachMiguel Sofer2008-09-101-3/+46
| | | | | | | | | recursion. * generic/tclBasic.c: * generic/tclCompile.h: * generic/tclExecute.c (INST_EVAL_STK): fix for [Bug 2102930], wrong numLevels when evaling a canonical list.
* Simplify test bodies using tcltest2dkf2008-09-083-522/+524
|
* * generic/tclTrace.test (TraceVarProc):Miguel Sofer2008-09-051-1/+26
| | | | | * generic/unsupported.test: insure that unset traces are run even when the coroutine is unwinding [Bug 2093947]
* * generic/tclExecute.c (CACHE_STACK_INFO):Miguel Sofer2008-09-041-1/+42
| | | | | * tests/unsupported.test: restore the execEnv's bottomPtr, fix for [Bug 2093188].
* Use tcltest2 better.dkf2008-09-021-419/+395
|
* * generic/tclCmdAH.c: nre-enabling [eval]; eval scripts are nowMiguel Sofer2008-09-013-22/+204
| | | | | | | * generic/tclOOBasic.c: bytecompiled. Adapted recursion limit tests * tests/interp.test: that were relying on eval not being * tests/nre.test: compiled. Part of the [Bug 2017632] project. * tests/unsupported.test:
* * generic/tclBasic.c (InfoCoroutine):Miguel Sofer2008-08-261-1/+23
| | | | | | * tests/unsupported.test: new command that returns the FQN of the currently executing coroutine. Lives as infoCoroutine under unsupported, but is designed to become a subcommand of [info]
* speling ficksdgp2008-08-222-7/+7
|
* * generic/tclUtil.c (TclReToGlob): Added missing set of thedgp2008-08-221-9/+9
| | | | | *exactPtr value to really fix [Bug 2065115]. * tests/regexpComp.test: Correct duplicate test names.
* * generic/tclBasic.c: Previous fix, now done right.Miguel Sofer2008-08-211-1/+29
| | | | | | * generic/tclCmdIL.c: * generic/tclInt.h: * tests/unsupported.test:
* really fix translation to escape glob-sensitive charshobbs2008-08-211-0/+21
|
* * tests/regexp.test, tests/regexpComp.test: correct re2glob ***=hobbs2008-08-212-2/+64
| | | | | * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
* Fix performance bug introduced by fix of [Bug 2037727]dkf2008-08-201-8/+23
|
* * generic/tclBasic.c: Implementation of [coroutine] and [yield]Miguel Sofer2008-08-171-10/+312
| | | | | | | | * generic/tclCmdAH.c: commands (in tcl::unsupported). * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclInt.h: * tests/unsupported.test:
* * generic/tclTest.c (TestconcatobjCmd):Miguel Sofer2008-08-171-1/+6
| | | | | | | | | | * generic/tclUtil.c (Tcl_ConcatObj): * tests/util.test (util-4.7): fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a hairy monster. This was exposed by [Bug 2055782]. Additionally, Tcl_ConcatObj could corrupt its input under certain conditions! *** NASTY BUG FIXED ***
* * tests/fileName.test: Revise new tests for portability to casedgp2008-08-141-4/+4
| | | | insensitive filesystems.
* * tests/fCmd.test (fCmd-6.23): made result matching robust when testdas2008-08-141-2/+2
| | | | workdir and /tmp are not on same FS.
* * tests/nre.test: added test for large {*}-expansion effectsMiguel Sofer2008-08-131-1/+17
|
* * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-1/+38
| | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
* * generic/tclProc.c (Tcl_ProcObjCmd): Fixed memory leak triggeredandreas_kupries2008-08-111-5/+31
| | | | | | * tests/proc.test: by procbody::test::proc. See [Bug 2043636]. Added a test case demonstrating the leak before the fix. Fixed a few spelling errors in test descriptions as well.
* (lrange-1.17): add test cleanup; whitespacedas2008-08-091-7/+7
|
* * generic/tclOO.c: Revised TclOO's check for an interpdgp2008-08-061-1/+29
| | | | | | | | | | being deleted during handling of object command deletion. The old code was relying on documented features of command delete traces that do not in fact work. [Bug 2039178]. * tests/oo.test (oo-26.*): Added tests that demonstrate failure of TclOO to check for various kinds of invalid bytecode during method dispatch. [Bug 2037727].
* * generic/tclExecute.c: Fix for [Bug 2038069] by dgp.Miguel Sofer2008-08-051-1/+16
| | | | * tests/execute.test:
* * tests/nre.test: added tests for [if], [while] and [for]. A testMiguel Sofer2008-08-041-2/+45
| | | | | for [foreach] has been added and marked as knownbug, awaiting for it to be NR-enabled.
* missing commit to tests/unsupported.testMiguel Sofer2008-08-041-1/+51
|
* * generic/tclExecute.c: Stopped faulty double-logging of errors todgp2008-08-041-1/+22
| | | | | | * tests/execute.test: stack trace when a compile epoch bump triggers fallback to direct evaluation of commands in a compiled script. [Bug 2037338]
* * generic/tclBasic.c: new unsupported command atProcExitMiguel Sofer2008-08-031-11/+157
| | | | | | | | | * generic/tclCompile.h: that shares the implementation with * generic/tclExecute.c: tailcall. Fixed a segfault in * generic/tclInt.h: tailcalls. Tests added. * generic/tclInterp.c: * generic/tclNamesp.c: * tests/unsupported.test:
* remove NRE.test & add new test files to Tcl.xcodeprojdas2008-08-031-0/+0
|
* * tests/NRE.test: made empty, waiting for removal until das doesMiguel Sofer2008-08-023-476/+543
| | | | | | | | his thing in macosx/Tcl.xcodeproj/project.pbxproj * tests/nre.test: migrated tests to standard locations, * tests/unsupported.test: separating core functionality from the experimental commands. These are new files.
* * generic/tclBasic.c: Revised timing of the CmdFrame stack managementdgp2008-08-011-1/+8
| | | | | | | | * tests/info.test: in TclEvalEx so that the CmdFrame will still be on the stack at the time Tcl_LogCommandInfo is called to append another level of -errorinfo information. Sets the stage to add file and line data to the stack trace. Added test to check that [info frame] functioning remains unchanged by the revision.
* * tests/NRE.test: replaced all deep-recursing tests by shallowerMiguel Sofer2008-08-011-246/+122
| | | | | tests that actually measure the C-stack depth. This makes them bearable again (even under memdebug) and avoid crashing on failure.
* * generic/tclBasic.c: NR-enabling [catch]Miguel Sofer2008-07-311-1/+18
| | | | | | * generic/tclCmdAH.c: * generic/tclInt.h: * tests/NRE.test:
* restricting usage and avoiding panics in [tailcall]Miguel Sofer2008-07-311-88/+7
|
* * generic/tclBasic.c: Improved tailcalls and tests.Miguel Sofer2008-07-311-50/+64
| | | | | | | * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclTest.c: * tests/NRE.test:
* * tests/NRE.test: new tests that went MIA in the NRE revampingMiguel Sofer2008-07-291-3/+223
|
* * test/info.test: More work on singleTestInterp usability. Thisandreas_kupries2008-07-251-51/+55
| | | | fixes bug [1605269].