summaryrefslogtreecommitdiffstats
path: root/tests/execute.test
Commit message (Collapse)AuthorAgeFilesLines
* * 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
|
* * generic/tclExecute.c: adding (DE)CACHE_STACK_INFO() pairs to protect all ↵Miguel Sofer2003-09-191-1/+9
| | | | | | calls that may cause traces on ::errorInfo or ::errorCode to corrupt the stack [Bug 804681] ----------------------------------------------------------------------
* * tests/execute.test: cleaning up testobj's at the end, to avoidMiguel Sofer2003-02-251-1/+4
| | | | leak warning by valgrind.
* * generic/tclCompile.c (TclCompileExprWords): remove unusedMiguel Sofer2003-02-191-2/+2
| | | | | | | | | variable "range" [Bug 664743] * generic/tclExecute.c (ExprSrandFunc): remove unused variable "result" [Bug 664743] * generic/tclStringObj.c (UpdateStringOfString): remove unused variable "length" [Bug 664751] * tests/execute.test (execute-7.30): fix for [Bug 664775]
* * Corrections to tcltest and the Tcl test suite so that a testdgp2002-06-221-4/+4
| | | | | | | with options -constraints knownBug -limitConstraints 1 only tests the knownBug tests. Mostly involves replacing direct access to the testConstraints array with calls to the testConstraint command (which requires tcltest version 2).
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-20/+125
| | | | | This version builds clean on Solaris/SPARC, with GCC and CC, both with and without threads and both in 32-bit and 64-bit mode.
* added test for evaluation of an expression in a variable; evals onceMiguel Sofer2001-02-231-1/+7
| | | | by compiling, second time using the previous compilation
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* Changed the tests to use the testConstraints array that thejenn1999-07-011-2/+2
| | | | test harness uses instead of the old name (testConfig).
* Fixed another bug in test suite...rjohnson1999-06-261-1/+2
|
* Modified the tests to use the package tcltestjenn1999-06-261-3/+3
|
* * tests/execute.test:stanton1999-06-161-85/+151
| | | | | | * generic/tclExecute.c (TclExecuteByteCode): Fixed crash caused by a bug in INST_LOAD_SCALAR1 where the scalar index was read as a signed 1 byte value instead of unsigned. [Bug: 2243]
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-8/+442
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+114