summaryrefslogtreecommitdiffstats
path: root/tests/tailcall.test
Commit message (Collapse)AuthorAgeFilesLines
* No longer build tcltest.exe to run the tests,but use tclsh86.exe in ↵jan.nijtmans2012-07-291-0/+3
| | | | combination with tcltest86.dll to do that (Windows only)
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
| | | cause more harm than good. Purged them (except in zlib files).
* * generic/tclBasic.c: New implementation for [tailcall]:Miguel Sofer2010-08-301-28/+72
| | | | | | | | | * generic/tclCmdAH.c: it now schedules the command and returns * generic/tclCmdMZ.c: TCL_RETURN. This fixes all issues with * generic/tclExecute.c: [catch] and [try] - [Bug 3046594], * generic/tclInt.h: [Bug 3047235] and [Bug 3048771]. Thanks * generic/tclNamesp.c: dgp for exploring the dark corners. * tests/tailcall.test: More thorough testing is required.
* * generic/tclBasic.c: Redesign of [tailcall] toMiguel Sofer2010-08-181-5/+17
| | | | | | | | | * generic/tclCmdAH.c: (a) fix #3047235 * generic/tclCompile.h: (b) enable fix for #3046594 * generic/tclExecute.c: (c) enable recursive tailcalls * generic/tclInt.h: * generic/tclNamesp.c: * tests/tailcall.test:
* Improve error code generation from some of the tailcall-related bits of TEBC.dkf2010-01-221-21/+42
|
* * tests/tailcall.test: remove some old unused crud; improved theMiguel Sofer2009-12-051-27/+28
| | | | stack depth tests.
* * generic/tclBasic.c: Fixed things so that you can tailcallMiguel Sofer2009-12-051-1/+18
| | | | | | | | * generic/tclNamesp.c: properly out of a coroutine. * tests/tailcall.test: * generic/tclInterp.c: Fixed tailcalls for same-interp aliases (no test)
* Made namespace scope corrections to some of the testing machinerydgp2009-06-251-3/+5
| | | | surrounding [testnrelevels]. Fixes up some -singleproc 1 failures.
* More test suite cleanup for "-singleproc 1 -debug 1" testing.dgp2009-06-241-1/+2
|
* removed extra cleanupTests callMiguel Sofer2009-03-211-5/+1
|
* forgot one file :}Miguel Sofer2009-03-211-2/+25
|
* * tclInt.h: commentsMiguel Sofer2009-03-211-2/+88
| | | | | | * tests/tailcall.test: added tests to show that [tailcall] does not currently always execute in constant space: interp-alias, ns-imports and ensembles "leak" as of this commit.
* * generic/tclBasic.c: Fix for (among others) [Bug 2699087]Miguel Sofer2009-03-211-3/+13
| | | | | | | | | * generic/tclCmdAH.c: Tailcalls now perform properly even from * generic/tclExecute.c: within [eval]ed scripts. * generic/tclInt.h: More tests missing, as well as proper exploration and testing of the interaction with "redirectors" like interp-alias (suspect that it does not happen in constant space) and pure-eval commands.
* * generic/tclExecute.c: fix both test and code for tailcallMiguel Sofer2009-03-211-3/+5
| | | | * tests/tailcall.test: from within a compiled [eval] body.
* * tests/tailcall.test: slightly improved testsMiguel Sofer2009-03-211-5/+27
|
* * generic/tcl.h:Miguel Sofer2009-03-191-0/+428
* generic/tclInt.h: * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclNamesp.c (Tcl_PopCallFrame): Rewritten tailcall implementation, ::unsupported::atProcExit is (temporarily?) gone. The new approach is much simpler, and also closer to being correct. This commit fixes [Bug 2649975] and [Bug 2695587]. * tests/coroutine.test: Moved the tests to their own files, * tests/tailcall.test: removed the unsupported.test. Added * tests/unsupported.test: tests for the fixed bugs.