summaryrefslogtreecommitdiffstats
path: root/tests/info.test
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclBasic.c: Revised timing of the CmdFrame stack managementdgp2008-08-011-1/+8
| | | | | | | | * tests/info.test: in TclEvalEx so that the CmdFrame will still be on the stack at the time Tcl_LogCommandInfo is called to append another level of -errorinfo information. Sets the stage to add file and line data to the stack trace. Added test to check that [info frame] functioning remains unchanged by the revision.
* * test/info.test: More work on singleTestInterp usability. Thisandreas_kupries2008-07-251-51/+55
| | | | fixes bug [1605269].
* * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-251-15/+95
| | | | | | | | | | | | | | | | | of location for uplevel scripts. Resolved merge conflict on info-37.0, switched !singleTestInterp constraint to glob matching instead. Ditto info-22.8, removed constraint, more glob matching, and reduced the depth of the stack we check. More is coming, right now I want to commit the bug fixes. * tests/oo.test: Updated oo-22.1 for expanded location tracking. * 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): Added missing cleanup of extended location information.
* * tests/info.test (info-37.0): Add !singleTestInterp constraint;das2008-07-251-21/+21
| | | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes, remove knownBug constraint, fix expected result. [Bug 1605269]
* * tests/info.test: Reordered the tests to have monotonouslyandreas_kupries2008-07-231-154/+154
| | | | increasing numbers.
* Rename new test to avoid duplicate test name.andreas_kupries2008-07-231-2/+2
|
* * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-231-1/+27
| | | | | | | | | | * 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/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-211-7/+7
| | | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c: * tests/info.test:
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
|
* * generic/tclCmdIL.c (TclInfoFrame): Moved the code looking up theandreas_kupries2008-06-161-8/+8
| | | | | | | | * tests/info.test: 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].
* Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-311-5/+5
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * library/tcltest/tcltest.tcl: Accept underscores and colons indgp2007-09-111-3/+3
| | | | | | | * library/tcltest/pkgIndex.tcl: constraint names. Properly handle constraint expressions that return non-numeric boolean results like "false". Bump to tcltest 2.3b1. [Bug 1772989; RFE 1071322] * tests/info.test: Disable fragile tests.
* Convert [info] into an ensemble command.dkf2007-06-121-226/+227
|
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-181-17/+17
| | | | | | | | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections * tests/info.test: that continued to support the deprecated * tests/mathop.test: {expand} syntax. Updated the few remaining users of that syntax in the test suite.
* * tests/info.test: add !singleTestInterp constraint to tests that faildas2006-12-171-16/+16
| | | | when running testsuite with -singleproc 1. [Bug 1605269]
* adjust tcltest.tcl line numbers in info-22.8 & info-23.6 that changed by ↵das2006-12-101-3/+3
| | | | last tcltest.tcl commit.
* TIP#299 IMPLEMENTATIONKevin B Kenny2006-12-011-2/+2
|
* * generic/tclBasic.c: TIP #280 implementation.andreas_kupries2006-11-281-5/+630
| | | | | | | | | | | | | | | | | | | | | * 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:
* Fix [Bug 1587618], eliminating the callObjc and callObjv fields from the Interpdkf2006-10-311-5/+3
| | | | structure.
* * tests/info.test (info-9.11-12): tests for [Bug 1577492]Miguel Sofer2006-10-241-1/+20
| | | | * tests/apply.test (apply-4.3-5): tests for [Bug 1574835]
* Undo mistaken commit to wrong branch caused by CVS fumble... :-}dkf2006-10-201-9/+5
|
* Consolidated TIP#257 patch applied to HEAD to allow for experimentation bydkf2006-10-201-5/+9
| | | | other developers
* * tests/compExpr-old.test: Updated testmathfunctions constraintdgp2006-04-061-2/+2
| | | | | | | | | | * tests/compExpr.test: to post-TIP-232 world. * tests/expr-old.test: * tests/expr.test: * tests/info.test: * tests/indexObj.test: Corrected other test errors revealed by * tests/upvar.test: testing outside the tcltest application.
* TIP#237 introduced a new function, entier, so add it to the list of functions.dkf2005-10-101-5/+4
|
* implementation for TIP #255, expr min/maxhobbs2005-09-291-3/+3
|
* Take care with globals that have an entry in the var table but "don't exist"dkf2005-07-291-2/+15
|
* TIP#229 implementationdkf2005-05-301-1/+2
|
* TIP#182 IMPLEMENTATION [Patch 1165062]dgp2005-05-251-3/+3
| | | | | | | * doc/mathfunc.n: New built-in math function bool(). * generic/tclBasic.c: * tests/expr.test: * tests/info.test:
* * 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
|
* Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-4/+2
| | | | necessary.
* Changed test back to what it used to be in 7.* now that [set] counts as adkf2004-05-171-6/+2
| | | | real command once again. :^)
* Eliminated duplicate test numbers [Bugs 710322, 710327, 710349, 710363]dkf2003-03-271-5/+5
|
* * Updated the instructions on running and adding to the test suite.dgp2002-07-011-2/+1
| | | | | Also updated several tests, mostly to correctly create and destroy any temporary files in the [temporaryDirectory] of tcltest.
* Removed assumptions that [makeFile] creates files in the current dir.dkf2002-06-111-9/+9
|
* Duplicate test number...dkf2002-06-111-2/+2
|
* Fix for [info locals] bug #567386; added compile functions forMiguel Sofer2002-06-111-1/+3
| | | | [global], [upvar] and [variable].
* [Bug 545325 ] info level didn't report namespace eval.Miguel Sofer2002-04-181-1/+6
|
* Fixed Bug #545644; [info body] always gives a proper string now!dkf2002-04-181-5/+13
|
* TIP#72 implementation. See ChangeLog for details.dkf2002-02-151-3/+3
| | | | | 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.
* Changes from TIP#15 "Functions to List and Detail Math Functions"dkf2001-05-301-10/+28
|
* * tests/info.test:hobbs2000-05-271-3/+20
| | | | | | | | * doc/info.n: * generic/tclIOUtil.c (Tcl_EvalFile): * generic/tclCmdIL.c (InfoScriptCmd): added ability to set the info script return value [info script ?newFileName?]. This will be beneficial for virtual file system programs. [Bug: 4225]
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* added test for [info body] bytecompiled object bughobbs2000-01-211-1/+16
|
* * tests/info.test:hobbs2000-01-121-1/+59
| | | | | | | | | | | * generic/tclCmdIL.c: fixed 'info procs ::namesp::*' behavior (Dejong) * tests/unixFCmd.test: * unix/tclUnixFCmd.c: added support for symbolic permissions setting in SetPermissionsAttribute (file attr $file -perm ...) [Bug: 3970] * tests/utf.test: fixed test that allowed \8 as octal value
* * tests/info.test:hobbs1999-12-121-18/+17
| | | | | | | | | | * tests/parseOld.test: * generic/tclCmdAH.c: * generic/tclProc.c: changed Tcl_UplevelObjCmd (uplevel) and Tcl_EvalObjCmd (eval) to use TCL_EVAL_DIRECT in the single arg case as well, to take advantage of potential pure list input optimization. This means that it won't get byte compiled though, which should be acceptable.
* * unix/tclUnixThrd.c: Applied patch to fix threads on Irix 6.5.redman1999-07-311-2/+2
| | | | | | | Patch from James Dennett. [Bug: 2450] * tests/info.test: Enable test for tclParse.c change (info complete).
* Removed patch for bug 2382, for info complete.redman1999-07-231-4/+4
|
* Applied patch for info complete. [Bug: 2382]redman1999-07-221-1/+7
|