summaryrefslogtreecommitdiffstats
path: root/tests/trace.test
Commit message (Collapse)AuthorAgeFilesLines
* New test trace-18.5 for the bug. Updated trace-18.1 which was tuned to it.bug_7f02ff1efadgp2016-09-081-1/+22
|
* Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-30/+30
|
* Make sure the errors raised by execution traces become errors raised by thedgp2013-08-151-0/+7
|\ | | | | | | traced command, as documented. Deletion of the traced command was supressing that.
| * Make sure the errors raised by execution traces become errors raised bydgp2013-08-151-0/+7
| | | | | | | | the traced command, as documented. Deletion of the traced command was supressing that.
* | 3606391 trace.test test independence.dgp2013-03-111-12/+44
|\ \ | |/
| * 3606391 trace.test test independencedgp2013-03-111-12/+44
| |
* | Fix bug #2438181: Incorrect error reporting in traces. jan.nijtmans2013-02-191-0/+10
|\ \ | |/ | | Test-case and fix provided by Poor Yorick.
| * Fix bug #2438181: Incorrect error reporting in traces. jan.nijtmans2013-02-191-0/+10
| |\ | | | | | | Test-case and fix provided by Poor Yorick.
| | * Add test-case for Bug #2438181 (which passes in Tcl 8.4 but fails in 8.5/8.6).jan.nijtmans2013-02-191-0/+10
| | | | | | | | | Provided by Poor Yorick
* | | For traces and embedding support, select modernizations from Patrick Fradin.dgp2013-01-311-150/+145
|\ \ \ | |/ /
| * | For traces, select modernizations from Patrick Fradlin.dgp2013-01-301-150/+145
| | |
* | | 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)
* | | 3485022 TclCompileEnsemble() avoid compile when exec traces set.dgp2012-02-061-0/+28
|\ \ \ | |/ /
| * | 3485022 TclCompileEnsemble() avoid compile when exec traces set.dgp2012-02-061-0/+28
| |\ \ | | |/
| | * 3484621 Invalidate bytecode when exec traces are added/removed from compiled ↵dgp2012-02-061-0/+33
| | | | | | | | | | | | cmd.
* | | Fix for [Bug 3484621]: insure that execution traces on bytecoded commands ↵mig2012-02-061-0/+33
|\ \ \ | |/ / | | | | | | bump the interp's compile epoch.
| * | Fix for [Bug 3484621]: insure that execution traces on bytecoded commandsmig2012-02-061-0/+33
| | | | | | | | | bump the interp's compile epoch.
* | | 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).
| * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * tests/trace.test: Backport some tests.dgp2007-08-141-1/+27
| | |
| | * * generic/tclBasic.c (TEOVI): fix por possible leak of a CommandMiguel Sofer2006-11-041-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | in the presence of execution traces that delete it. * generic/tclBasic.c (TEOVI): * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution traces may cause a second command resolution in the wrong namespace.
| | * * generic/tclCmdMZ.c: Stop some interference between enter tracesdgp2006-04-111-1/+38
| | | | | | | | | | | | * tests/trace.test: and enterstep traces. [Bug 1458266]
| | * * generic/tclBasic.c: Corrections to be sure that TCL_EVAL_GLOBALdgp2006-02-281-1/+35
| | | | | | | | | | | | | | | | | | * tests/parse.test: evaluations act the same as [uplevel #0] * tests/trace.test: evaluations, even when execution traces or invocations of [::unknown] are present. [Bug 1439836].
| | * * tests/trace.test (trace-34.5): [Bug 1047286], added a secondMiguel Sofer2005-11-181-2/+15
| | | | | | | | | | | | | | | test illustrating the role of "ns in callStack" in the ns's visibility during deletion traces.
| | * * generic/tclBasic.c (Tcl_DeleteCommandFromToken):Miguel Sofer2005-11-181-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (TraceCommandProc): * generic/tclInt.h (NS_KILLED): * generic/tclNamesp.c (Tcl_DeleteNamespace * tests/namespace.test (namespace-7.3-6): * tests/trace.test (trace-20.13-16): fix [Bugs 1355942/1355342].
| | * * tests/trace.test (trace-13.2-4): added tests to detect leak, see [BugMiguel Sofer2005-11-071-2/+56
| | | | | | | | | | | | 1348775].
| | * * generic/tclInt.h:Miguel Sofer2005-11-041-3/+3
| | | | | | | | | | | | | | | | | | | | | * generic/tclNamesp.c: * generic/tclVar.c: fix for [Bugs 1338280/1337229]. Thanks Don. * tests/trace.test: fix duplicate test numbers
| | * fix new test trace-18.4 [Bug 1338280]Miguel Sofer2005-10-291-6/+9
| | |
| | * * generic/tclCmdMZ.c (TraceVarProc): [Bug 1337229], partialMiguel Sofer2005-10-291-1/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | fix. Insure that a second call with TCL_TRACE_DESTROYED does not lead to a second call to Tcl_EventuallyFree(). It is still true that that second call should not happen, so the bug is not completely fixed. * tests/trace.test (test-18.3-4): added tests for bugs #1337229 and 1338280.
| | * typodgp2005-07-261-2/+2
| | |
| | * * generic/tclNamesp.c (TclTeardownNamespace): Re-ordering so thatdgp2005-07-261-1/+12
| | | | | | | | | | | | | | | * tests/trace.test (trace-34.4): command delete traces fire while the command still exists. [Bug 1047286]
| | * * generic/tclBasic.c: Made the walk of the active trace list awaredgp2005-06-211-1/+17
| | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c: of the direction of trace scanning, so the * generic/tclInt.h: proper correction can be made. [Bug 1224585] * tests/trace.test (trace-34.2,3):
| | * * generic/tclBasic.c (Tcl_DeleteTrace): Added missing walk of thedgp2005-06-211-1/+18
| | | | | | | | | | | | | | | * tests/trace.test (trace-34.1): list of active traces to cleanup references to traces being deleted. [Bug 1201035]
| | * * generic/tclCmdMZ.c (Tcl_TraceObjCmd): Fixed Bug 1065378 which faileddgp2004-11-151-1/+8
| | | | | | | | | | | | | | | | | | * tests/trace.test (trace-33.1): to permit a variable trace created with [trace variable] to be destroyed with [trace remove]. Thanks to Keith Vetter for the report.
| | * * generic/tclBasic.c (CallCommandTraces): Added safety bitdgp2003-09-291-13/+16
| | | | | | | | | | | | | | | | | | | | | | | | * tests/trace.test: masking to prevent any of the bit values TCL_TRACE_*_EXEC from leaking into the flags field of any Command struct. This does not fix [Bug 811483] but helps to contain some of its worst symptoms. Also backported the corrections to test trace-28.4 from Vince Darley.
| | * * generic/tclCmdMZ.c (): Fixed [Bug 807243] wheredgp2003-09-241-1/+37
| | | | | | | | | | | | | | | | | | * tests/trace.test (trace-31,32.*): the introspection results of both [trace info command] and [trace info execution] were getting co-mingled. Thanks to Mark Saye for the report.
| | * Removed test number dups [Bugs 710322, 710327, 710349, 710363]dkf2003-03-271-13/+12
| | |
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-4/+4
|/ /
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Greatly improved ensemble compiler. This one now can handle any ensemble.dkf2007-11-161-2/+2
| | | | | | | | | | It is usually not enabled though; only worth it when a subcommand is actually expected to undergo bytecode compilation.
* | * generic/tclBasic.c: Use fully qualified variable names fordgp2007-08-141-2/+2
| | | | | | | | | | | | * tests/thread.test: ::errorInfo and ::errorCode so that string * tests/trace.test: reported to variable traces are fully qualified in agreement with Tcl 8.4 operations.
* | * generic/tclExecute.c: Provide DECACHE/CACHE protection to thedgp2007-08-131-1/+13
| | | | | | | | * tests/trace.test: Tcl_LogCommandInfo() call. [Bug 1773040]
* | * generic/tclExecute.c (INST_STORE_ARRAY):Miguel Sofer2007-08-091-1/+17
| | | | | | | | | | * tests/trace.test (trace-2.6): whole array write traces on compiled local variables were not firing [Bug 1770591]
* | * generic/tclTrace.c: Corrected broken trace reversal logic indgp2007-06-271-1/+5
| | | | | | | | | | | | * generic/tclTest.c: TclCheckInterpTraces that led to infinite loop * tests/trace.test: when multiple Tcl_CreateTrace traces were set and one of them did not fire due to level restrictions. [Bug 1743931].
* | * generic/tclBasic.c (TEOvI): Made sure that leaveMiguel Sofer2007-06-211-2/+2
| | | | | | | | | | | | | | * generic/tclExecute.c (INST_INVOKE): traces that were created * tests/trace.test (trace-36.2): during execution of an originally untraced command do not fire [Bug 1740962], partial fix.
* | * generic/tclCompile.c: reverted TclEvalObjvInternal andMiguel Sofer2007-06-151-28/+47
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclExecute.c: INST_INVOKE to essentially what they were * generic/tclBasic.c: previous to the commit of 2007-04-03 [Patch 1693802] and the subsequent optimisations, as they break the new trace tests described below. * generic/trace.test: added tests 36 to 38 for dynamic trace creation and addition. These tests expose a change in dynamics due to a recent round of optimisations. The "correct" behaviour is not described in docs nor TIP 62.
* | * generic/trace.test: added tests 36.* for dynamic trace creationMiguel Sofer2007-06-151-1/+51
| | | | | | | | | | | | | | and addition. These tests expose a change in dynamics due to a recent round of optimisations. The "correct" behaviour is not described in docs nor TIP 62. Currently test 36.2 fails, the opts will be rolled back.
* | Convert [info] into an ensemble command.dkf2007-06-121-2/+2
| |
* | * generic/tclBasic.c (TEOVI):Miguel Sofer2006-11-031-2/+20
| | | | | | | | | | | | * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution traces may cause a second command resolution in the wrong namespace.