summaryrefslogtreecommitdiffstats
path: root/tests/info.test
Commit message (Collapse)AuthorAgeFilesLines
* update testdgp2019-06-101-1/+1
|
* [60559fd4a6] Test more robust against frame contexts of testing environment.dgp2019-04-171-20/+20
|\
| * Isolate tests of [info frame] results from testing environment.dgp2019-04-171-20/+20
| |\
| | * Isolate tests of [info frame] results from testing environment.dgp2019-04-171-10/+10
| | |
* | | Centralise the de-fanging of standard ensembles in safe interpreters. Doing ↵dkf2018-10-071-6/+6
| | | | | | | | | | | | it right once is easier than repeating hacks...
* | | Restricted the information made available to safe interpreters a bit.dkf2018-09-271-0/+43
| | |
* | | merge core-8-branchdkf2018-09-041-6/+23
|\ \ \
| * \ \ test suite debuggingdgp2018-01-251-1/+1
| |\ \ \ | | |/ /
| | * | test name continuitydgp2018-01-251-1/+1
| | |\ \ | | | |/
| | | * Dup test namesdgp2018-01-251-1/+1
| | | |
| | * | test repairsdgp2016-07-221-1/+1
| | | |
| | * | Dup test name. Bump to TclOO 1.0.5.dgp2016-07-121-1/+1
| | | |
| * | | Fix 2 test-cases, due to changed command options.jan.nijtmans2017-01-041-2/+2
| | | |
| * | | [4b61afd660] Allow [info frame] to record line info for substituted command ↵dgp2016-06-161-0/+17
| |\ \ \ | | |/ / | | | | | | | | names.
| | * | [4b61afd660] Allow [info frame] to record line info for substituted command ↵dgp2016-06-161-0/+17
| | |\ \ | | | |/ | | | | | | | | names.
| | | * Improve fix and add test.dgp2016-06-161-0/+17
| | | |
| * | | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-4/+4
| |/ /
* | | Support type discovery in coroutines.dkf2013-08-011-2/+18
| | |
* | | Improving the test suite for [info cmdtype].dkf2013-08-011-0/+28
| | |
* | | Added testsdkf2013-07-311-7/+88
|/ /
* | Tests demonstrating the need for the last two SetLineInformation() calls.dgp2013-07-121-0/+25
| |
* | Add tests for the SetLineInformation() calls in tclEnsemble.c, and fixdgp2013-07-111-0/+25
| | | | | | the bugs around those calls exposed by the tests.
* | Add tests for SetLineInformation() calls in tclCompCmdsSZ.c as well as somedgp2013-07-101-1/+185
| | | | | | obvious refactoring improvements.
* | Add tests for SetLineInformation() calls in tclCompCmdsGR.c.dgp2013-07-101-0/+53
| |
* | Add tests for, and fix bugs in, the SetLineInformation() calls in tclCompCmds.c.dgp2013-07-101-0/+118
| |
* | Next attempt. Appears to have uncovered a bug.dgp2013-07-101-0/+14
| |
* | First additional test. Remove dup macros in tclEnsemble.c.dgp2013-07-101-0/+15
| |
* | All tests pass except one; not sure what's wrong there.dkf2013-01-021-13/+13
| |
* | merge trunkdkf2012-08-041-10/+10
|\ \
| * | fix info.test testsjan.nijtmans2012-07-301-10/+7
| | |
| * | 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)
* | | Compilation of misc info sometimes used in high-performance code.dkf2012-03-041-0/+6
|/ /
* | Better error-message in case of errors related to setting a variablejan.nijtmans2011-04-041-3/+3
| |
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-1/+1
|\ \ | |/ | | 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-1/+1
| |\ | | | | | | 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/info.test: Resolve ambiguous resolution of variableandreas_kupries2009-11-091-2/+2
| | | | | | | | | | | | "res". Backport from 8.5
| | * * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-251-12/+251
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, ListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-22): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script's, to properly account for them while counting lines for #280, during direct and compiled execution.
| | * * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-141-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.4 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
| | * * generic/tclBasic.c: Added missing release of extended commandandreas_kupries2008-07-281-82/+102
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | word index when deleting an interpreter (DeleteInterpProc). Added missing ref count when creating an empty string as path (EvalEx). * generic/tclCompile.c (TclInitCompileEnv): Made same change to control flow as in TclEvalObjEx. Not needed while uplevel and siblings go through the eval-direct code path, however if that changes (like it did in 8.5+) better to have this in place instead of re-searching why certain places are without absolute locations. * tests/info.test: Added tests 38.*, exactly testing the tracking of location for uplevel scripts, and made the testsuite fully usable with and without -singleproc 1.
| | * * tests/info.test: Add !singleTestInterp constraint to various tests;das2008-07-251-27/+27
| | | | | | | | | | | | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes. [Bug 1605269]
| | * * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-241-1/+86
| | | | | | | | | | | | of location for uplevel scripts.
| | * Contrain the new test to run only when tip280 is active.andreas_kupries2008-07-231-2/+2
| | |
| | * * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-231-12/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdIL.c: immediately, without search. Reworked setup * generic/tclCompile.c: of eoFramePtr, doesn't need the line * tests/info.test: information, more sensible to have everything on line 1 when eval'ing a pure list. Updated the users of the line information to special case this based on the frame type (i.e. TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new behaviour.
| | * * generic/tclCmdIL.c (InfoFrameCmd): Backport of fix made on theandreas_kupries2008-06-161-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/info.test: head branch :: Moved the code looking up the information for key 'proc' out of the TCL_LOCATION_BC branch to after the switch, this is common to all frame types. Updated the testsuite to match. This was exposed by the 2008-06-08 commit (Miguel), switching uplevel from direct eval to compilation. Fixes [Bug 1987851].
| | * * generic/tclBasic.c: TIP #280 implementation, conditional on the define ↵andreas_kupries2006-11-281-5/+416
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
| | * Take care with globals that have an entry in the var table but "don't exist"dkf2005-07-291-2/+15
| | |
| | * * generic/tclCmdIL.c (InfoVarsCmd): Corrected segfault in newdgp2004-11-241-1/+9
| | | | | | | | | | | | * tests/info.test (info-19.6): trivial matching branch [Bug 1072654]
| | * Make [info globals ::foo] work. [Bug 1057461]dkf2004-10-311-1/+5
| | |
| | * Removed test number dups [Bugs 710322, 710327, 710349, 710363]dkf2003-03-271-5/+5
| | |