summaryrefslogtreecommitdiffstats
path: root/tests/compile.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge trunkjan.nijtmans2016-07-041-1/+98
|\
| * Use conventional list operations for ensemble dispatchjan.nijtmans2016-07-041-1/+98
| |\ | | | | | | Add ability to disassemble TclOO constructors and destructors
| | * Add ability to disassemble TclOO constructors and destructors ([1493a43044] ↵dkf2016-07-041-1/+98
| | | | | | | | | | | | motivates)
* | | merge trunkdgp2016-03-171-0/+11
|\ \ \ | |/ /
| * | merge 8.6 bug fixesdgp2016-03-171-0/+11
| |\ \ | | |/
| | * New test compile-5.3 for the bug.bug_b9b2079e6ddgp2016-03-111-0/+11
| | |
* | | merge trunkjan.nijtmans2016-03-111-10/+10
|\ \ \ | |/ /
| * | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-10/+10
| |/
* | Partial trunk merge - up to the point where conflicts arise.dgp2016-01-191-3/+39
|\ \ | |/
| * Put the file location information that Tcl has into the disassembled code. ↵dkf2016-01-181-3/+39
| | | | | | | | Important for tclquadcode.
* | merge trunkjan.nijtmans2014-12-081-2/+10
|\ \ | |/
| * Now make the patch by hand that fossil could not merge.dgp2014-12-031-2/+1
| |
| * missing unset in new testMiguel Sofer2014-12-031-1/+1
| |
| * test and fix (thx dgp)bug_0c043a175Miguel Sofer2014-12-031-4/+5
| |
| * adding a test for the bugMiguel Sofer2014-12-031-2/+10
| |
* | merge trunkdgp2014-09-281-1/+81
|\ \ | |/
| * improve the testing of the disassembly commandsdkf2014-02-081-1/+81
| |
* | merge trunkjan.nijtmans2013-12-151-0/+30
|\ \ | |/
| * new test, and fix for bugmig2013-12-111-0/+30
| |
* | merge trunkjan.nijtmans2013-10-271-0/+64
|\ \ | |/
| * Do jump generation at places where INST_RETURN_IMM might occur.dkf2013-10-151-0/+64
| |
* | merge trunkjan.nijtmans2013-06-101-0/+6
|\ \ | |/
| * 3614102 - Reset stack housekeeping when compileProc fails.dgp2013-05-291-0/+6
| |
* | Burn the octal bridges. We're not goin' back.dgp2012-11-161-1/+1
|/
* 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.
| | * style revisions to latest commitdgp2008-04-171-8/+1
| | |
| | * * generic/tclCompExpr.c (CompileMathFuncCall): Addedandreas_kupries2008-04-171-1/+7
| | | | | | | | | | | | | | | | | | | | | * tests/compile.test (compile-16.0): Tcl_ResetResult before appending error message, to clear out possible sharing. Added test case demonstrating the crash (abort on shared object) without the fix.
| | * * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-261-1/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/timer.test (timer-10.1): Backport test for Bug 1016167. * tests/tcltest.test (tcltest-12.3,4): Backport setup corrections. * tests/error.test (error-6.3,4,7,9): Backport of some tests. * tests/basic.test (basic-49.*): * tests/namespace.test (namespace-8.7): * tests/init.test (init-2.8): Updated to not rely on http package. * generic/tclThreadTest.c (ThreadEventProc): Corrected subtle bug where the returned (char *) from Tcl_GetStringResult(interp) continued to be used without copying or refcounting, while activity on the interp continued.
| | * * generic/tclCompile.c (TclCompileScript):Miguel Sofer2004-03-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/compile.test (compile-3.5): corrected wrong test and behaviour in the earlier fix for [Bug 705406]; Don Porter reported this as [Bug 735055], and provided the solution. Fixed in HEAD on 2003-05-09, but backport to 8-4-branch was wrongly omitted; re-reported as [Bug 916795] by Roy Terry, diagnosed by dgp.
| | * * generic/tclCompile.c:Miguel Sofer2003-03-191-1/+12
| | | | | | | | | | | | | | | * tests/compile.test: bad command count on TCL_OUT_LINE_COMPILE [Bug 705406] (Don Porter). Backport from 8.5a0
| * | * generic/tclCompCmds.c (TclCompileCatchCmd):Kevin B Kenny2010-11-031-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/compile.test (compile-3,6): Reworked the compilation of the [catch] command so as to avoid placing any code that might throw an exception (specifically, any initial substitutions or any stores to result or options variables) between the BEGIN_CATCH and END_CATCH but outside the exception range. Added a test case that panics on a stack smash if the change is not made. [Bug #3098302]
| * | Test hygiene for the ::tmp variabledgp2009-10-291-1/+2
| | |
| * | * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-251-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | of location for uplevel scripts. * generic/tclCompile.c (TclInitCompileEnv): Reorganized the initialization of the #280 location information to match the flow in TclEvalObjEx to get more absolute contexts. * generic/tclBasic.c (TclEvalObjEx): Moved the pure-list optimization out of the eval-direct code path to be done always, i.e. even when a compile is requested. This way we do not loose the association between #280 location information and the list elements, if any.
* | | Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-011-134/+123
| | | | | | | | | | | | cleanup code out of the test body and into the -setup/-cleanup stanzas.
* | | * generic/tclCompCmds.c (TclCompileCatchCmd):Kevin B Kenny2010-11-031-1/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/compile.test (compile-3,6): Reworked the compilation of the [catch] command so as to avoid placing any code that might throw an exception (specifically, any initial substitutions or any stores to result or options variables) between the BEGIN_CATCH and END_CATCH but outside the exception range. Added a test case that panics on a stack smash if the change is not made. [Bug #3098302]
* | | test hygiene for the ::tmp variabledgp2009-10-291-1/+2
| | |
* | | Fix [Bug 2251175]: missing backslash generic/tclCompCmds.c substitution on ↵ferrieux2008-11-171-1/+8
| | | | | | | | | | | | expanded literals.
* | | Use the powers of tcltest2 for good! Also add basic testing of disassmblerdkf2008-09-101-1/+86
|/ / | | | | | | (though not of its output format).
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | * generic/tclIOCmd.c: Revise [open] so that it interprets leadingdgp2007-10-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | zero strings passed as the "permissions" argument as octal numbers, even if Tcl itself no longer parses integers in that way. * unix/tclUnixFCmd.c: Revise the "-permissions" [file attribute] so that it interprets leading zero strings as octal numbers, even if Tcl itself no longer parses integers in that way. * generic/tclCompExpr.c: Corrections to code that produces * generic/tclUtil.c: extended "bad octal" error messages. * tests/cmdAH.test: Test revisions so that tests pass whether or * tests/cmdIL.test: not Tcl parses leading zero strings as octal. * tests/compExpr-old.test: * tests/compExpr.test: * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/incr.test: * tests/io.test: * tests/lindex.test: * tests/link.test: * tests/mathop.test: * tests/parseExpr.test: * tests/set.test: * tests/string.test: * tests/stringComp.test:
* | Add missing constraintsdgp2007-03-071-2/+2
| |
* | Detect [Bug 1638414]dkf2007-01-181-23/+6
| |
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-22/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]
* | * tests/compExpr-old.test: Update existing tests to not faildgp2006-08-221-13/+9
| | | | | | | | | | | | | | | | | | | | | | * tests/compExpr.test: with the new expr parser. * tests/compile.test: * tests/expr-old.test: * tests/expr.test: * tests/for.test: * tests/if.test: * tests/parseExpr.test: * tests/while.test:
* | * tests/compExpr-old.test: add 'oldExprParser' constraint to all testsdas2006-08-021-4/+8
| | | | | | | | | | | | | | | | | | | | | | * tests/compExpr.test: that depend on the exact format of the error * tests/compile.test: messages of the pre-2006-07-05 expression * tests/expr-old.test: parser. The constraint is on by default (i.e. * tests/expr.test: those test still fail), but it can be turned * tests/for.test: off by passing '-constraints newExprParser' * tests/if.test: to tcltest, which will skip the 196 failing * tests/parseExpr.test: tests in the testsuite that are caused by * tests/while.test: the new expression parser error messages.
* | TIP#215 IMPLEMENTATIONdgp2006-02-091-5/+5
| | | | | | | | | | | | | | | | | | | | * doc/incr.n: Revised [incr] to auto-initialize when varName * generic/tclExecute.c: argument is unset. [Patch 1413115]. * generic/tclVar.c: * tests/compile.test: * tests/incr-old.test: * tests/incr.test: * tests/set.test:
* | * tests/compile.test: Updated tests with changed behaviordgp2005-11-091-3/+3
| | | | | | | | | | | | | | | | | | * tests/execute.test: due to addition of bignums. * tests/expr-old.test: * tests/expr.test: * tests/parseExpr.test: * tests/platform.test: * tests/string.test: