summaryrefslogtreecommitdiffstats
path: root/tests/compile.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2019-09-291-3/+3
|\
| * merge 8.5sebres2019-09-261-3/+3
| |\
| | * amend to [fec0c17d39] - reduce max count of nested compiles to 1500sebres2019-09-261-3/+3
| | |
| | * Add 32-bit Windows builds, both with MSVC and GCC, to Travis. jan.nijtmans2019-09-161-75/+86
| | | | | | | | | Backport various test-suite changes fro 8.6 to 8.5, mainly "knownBug" markers and comments
| | * partially cherrypick of [ecf524bce0], bug-fec0c17d39-8.6-limit: ultimate fix ↵sebres2019-09-111-10/+40
| | | | | | | | | | | | | | | for [fec0c17d39] - avoid SO on deeply recursive call stack by restriction of nested compilations using same limit (interp recursionlimit) like the evaluation, this must protect against unexpected stack exhaustion; conflicts resolved, tests fixed (no command `try` in 8.5)
| | * Backport some improvements to tm.tcl (mostly comments). jan.nijtmans2019-09-101-2/+2
| | | | | | | | | | | | Don't use ::tcl_platform(debug) anymore, since it cannot be thrusted: Better use [::tcl::pkgconfig get debug] Reduce limits in tests/compile.test (13.2), since apparently it's still too much for some platforms.
| | * Don't let Tcl compilation depend on USE_32BIT_TIME_T any more: Microsoft ↵jan.nijtmans2019-09-071-1/+1
| | | | | | | | | | | | | | | could discontinue this macro any moment, then we are prepared .... As a bonus: time_t is now allowed to be 64-bit internally, without effect on the C API (like stub-enabled extensions)
* | | Merge 8.6jan.nijtmans2019-09-121-2/+2
|\ \ \ | |/ /
* | | merge 8.6dgp2019-09-111-8/+38
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2019-09-031-1/+1
| |\ \
| * | | extends [fec0c17d39]: restrict nested compilations using same limit (interp ↵sebres2019-08-301-8/+38
| | | | | | | | | | | | | | | | | | | | recursionlimit) like the evaluation, this must protect against unexpected stack exhaustion (avoid SO by deeply recursive call stack)
* | | | Merge 8.6jan.nijtmans2019-09-031-0/+31
|\ \ \ \ | | |/ / | |/| |
| * | | Fix testing for debug build on UNIX too (on UNIX, ::tcl_platform(debug) is ↵jan.nijtmans2019-09-021-1/+1
| |/ / | | | | | | | | | not set ....)
| * | merge 8.5 - compile.test: reduce count of nested scripts to 1000 in debug ↵sebres2019-08-301-2/+2
| |\ \ | | |/ | | | | | | | | | case (seems to be to heavy on some platforms within debug-build); (small amend to the fix of [fec0c17d39])
| | * compile.test: reduce count of nested scripts to 1000 in debug case (seems to ↵sebres2019-08-301-2/+2
| | | | | | | | | | | | | | | be to heavy on some platforms within debug-build); (small amend to the fix of [fec0c17d39])
| * | more variants in test (since 8.6 compiles "try" using evalStk instruction)sebres2019-08-291-2/+2
| | |
| * | bug [fec0c17d39]: add test cases covering nested compilation (8.6th compile ↵sebres2019-08-291-0/+31
| |\ \ | | |/ | | | | | | generates a stack overflow with following segfault by 2000 nested bodies)
| | * add test cases covering nested compilation bug [fec0c17d39] (8.5 is not ↵sebres2019-08-291-0/+31
| | | | | | | | | | | | affected at the moment by nested count under 2500)
| | * [0c043a175] backport fix from trunk.dgp2014-12-031-2/+10
| | |\
* | | | Merge over testing improvements from the TIP 475 work.dgp2018-03-201-1/+2
| | | | | | | | | | | | | | | | Test files string.test and stringComp.test had become out of sync. Use one file to maintain even coverage.
* | | | 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 8.6 bug fixesdgp2016-03-171-0/+11
|\ \ \ \ | |/ / /
| * | | New test compile-5.3 for the bug.dgp2016-03-111-0/+11
| | | |
* | | | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-10/+10
|/ / /
* | | Put the file location information that Tcl has into the disassembled code. ↵dkf2016-01-181-3/+39
| | | | | | | | | | | | Important for tclquadcode.
* | | 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)Miguel Sofer2014-12-031-4/+5
| |
* | adding a test for the bugMiguel Sofer2014-12-031-2/+10
| |
* | improve the testing of the disassembly commandsdkf2014-02-081-1/+81
| |
* | new test, and fix for bugmig2013-12-111-0/+30
| |
* | Do jump generation at places where INST_RETURN_IMM might occur.dkf2013-10-151-0/+64
| |
* | 3614102 - Reset stack housekeeping when compileProc fails.dgp2013-05-291-0/+6
| |
* | 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.