summaryrefslogtreecommitdiffstats
path: root/tests/execute.test
Commit message (Collapse)AuthorAgeFilesLines
* [6bdadfba7d] Stop crash with multi-lappend and failing writesdkf2019-06-201-0/+39
|\
| * [6bdadfba7d] Stop crash with multi-lappend and failing writesdkf2019-06-201-0/+39
| |\
| | * [6bdadfba7d] Stop crash with multi-lappend and failing writesdkf2019-06-201-0/+39
| | |
* | | Merge 8.7jan.nijtmans2018-10-081-7/+7
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2018-09-031-8/+8
| |\ \
* | \ \ merge 8.7jan.nijtmans2018-09-031-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Eliminate use of wideBiggerThanInt test constraint, since it's the same as ↵jan.nijtmans2018-09-031-1/+1
| |/ / | | | | | | | | | | | | | | | {longIs32bit wideIs64bit}. And ... it's name is actually wrong ... Don't use int() any more in any test constraint, since it's semantics might change. We don't want the test constraints to change with it. (See: TIP# 514) Simplify implementation of wideIs64bit test constraint, just testing for 64-bit sign bit is enough.
* | | Remove obsolete documentation (belonging to now-removed functions). Remove ↵jan.nijtmans2018-01-171-4/+0
| | | | | | | | | | | | obsolete 8.4 bytecodes. And a few other (internal) macro's which are no longer in use.
* | | merge trunkdgp2017-10-301-3/+3
|\ \ \ | |/ /
| * | merge 8.6dgp2017-10-301-3/+3
| |\ \ | | |/
| | * Revise tests that relied on deprecated variable resolution rules.dgp2017-10-301-3/+3
| | |
* | | Implementation branch for TIP 114 - Eliminate Octal Parsing...dgp2017-10-231-11/+11
|/ /
* | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-3/+3
|/
* [a0ece9d6d4] The cmd field of a CmdFrame when non-NULL must point within thedgp2015-07-051-0/+9
| | | string of the corresponding codePtr->source.
* [268b23df11] When GetSrcInfoForPc() returns NULL, make sure it also setsdgp2015-06-031-0/+14
| | | | the length to a non-positive value so nothing tries to read offsets from a NULL pointer.
* 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).
| * 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.
| | * * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-131-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
| | * * generic/tclTest.c: Backport the [testexprlongobj] testing command.dgp2008-03-071-1/+3
| | |
| | * * tests/execute.test (execute-6.8): Added tests checking thatdgp2008-03-071-2/+179
| | | | | | | | | | | | bytecode is invalidates in the right situations.
| | * * tests/appendComp.test: Backport test suite fixes of errorsdgp2004-10-281-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.test:
| | * * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs toMiguel Sofer2003-09-191-1/+9
| | | | | | | | | | | | | | | protect all calls that may cause traces on ::errorInfo or ::errorCode to corrupt the stack [Bug 804681]
| * | test name conflictdgp2009-06-131-2/+2
| | |
| * | * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-131-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
| * | * 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]
* | | * tests/execute.test (execute-11.1): [Bug 3142026]: Added test thatdkf2011-01-011-94/+124
| | | | | | | | | | | | fails (with a crash) in an unfixed memdebug build on 64-bit systems.
* | | * tests/execute.test: added execute-10.3 for [Bug 3072640]. TheMiguel Sofer2010-09-221-1/+22
| | | | | | | | | | | | test causes a mem failure.
* | | TIP #348 IMPLEMENTATION - Substituted error stackferrieux2010-04-051-3/+3
| | |
* | | Revert mistaken commitdgp2009-11-161-3/+3
| | |
* | | (forward port) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-161-3/+3
| | | | | | | | | | | | manifestations in the future. Add tcltest support for finalization.
* | | Correct failures during -singleproc 1 test suite run.dgp2009-06-241-1/+2
| | | | | | | | | | | | Correct duplicate test names.
* | | * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-131-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
* | | Fix [Bug 2568434]dkf2009-02-051-38/+30
| | |
* | | * generic/tclExecute.c: Fix for [Bug 2038069] by dgp.Miguel Sofer2008-08-051-1/+16
| | | | | | | | | | | | * tests/execute.test:
* | | * 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]
* | * tests/execute.test (execute-6.*): More tests checking thatdgp2008-03-071-17/+97
| | | | | | | | script bytecode is invalidated in the right situations.
* | * tests/execute.test (execute-6.*): More tests checking thatdgp2008-03-071-2/+81
| | | | | | | | script bytecode is invalidated in the right situations.
* | * tests/execute.test (6.3,4): Added tests for Bug 1899164].dgp2008-03-041-1/+19
| |
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* | * generic/tclExecute.c:Miguel Sofer2006-07-211-1/+15
| | | | | | | | * tests/execute.test (execute-9.1): dgp's fix for [Bug 1522803].
* | Use test constraints properly instead of looking in tcl_platformdkf2006-03-211-8/+11
| | | | | | | | | | Consistent method of calling test constraints, and (try to) move constraint setup to the top of the test file
* | * tests/compile.test: Updated tests with changed behaviordgp2005-11-091-42/+42
| | | | | | | | | | | | | | | | | | * tests/execute.test: due to addition of bignums. * tests/expr-old.test: * tests/expr.test: * tests/parseExpr.test: * tests/platform.test: * tests/string.test:
* | Marked some failing tests as knownBug until they can be updated.dgp2005-10-211-6/+6
| |
* | fix for execution stack corruption [Bug 1055676]. Credit dgp for detectiveMiguel Sofer2004-10-281-1/+23
| | | | | | | | work and fix.
* | * tests/execute.test (execute-8.1): Updated to remove the tracedgp2004-05-251-4/+8
| | | | | | | | | | set on ::errorInfo . When left in place, that trace can cause later tests to fail.
* | * tests/execute.test (execute-8.2): Avoid crashes when theredgp2004-04-291-4/+9
| | | | | | | | is limited system stack space (threads-enabled).
* | * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.test: * tests/pkg.test: * tests/pkgMkIndex.test: * tests/proc.test: * tests/reg.test: * tests/trace.test: * tests/upvar.test: * tests/winConsole.test: * tests/winFCmd.test:
* | fix for [Bug 816641] - faulty execution and catch stack management.Miguel Sofer2003-10-041-1/+10
| |