summaryrefslogtreecommitdiffstats
path: root/tests/interp.test
Commit message (Collapse)AuthorAgeFilesLines
* TIP 285 ImplementationJoe Mistachkin2008-06-131-5/+5
|
* Implementation of TIP #257. Incomplete due to missing Win build support.dkf2008-05-311-7/+8
|
* test added (did not fail previously, just to make sure it never does)Miguel Sofer2008-03-021-1/+18
|
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* Forgot to adjust tests to take into account safeness of [unload]dkf2007-12-081-3/+3
|
* * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-2/+2
| | | | | | | | | | | | | | | | | | * 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/tclInterp.c (ApplyObjCmd):Miguel Sofer2006-10-121-1/+88
| | | | | | * tests/interp.test (interp-14.5-10): made [interp alias] use the ensemble rewrite machinery to produce better error messages [Bug 1576006]
* * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-3/+3
| | | | | | | | | | | | | | global variables ::errorInfo, ::errorCode, ::env and ::tcl_platform: many were relying on the alternative lookup in the global namespace, that feature is tested specifically in namespace and variable tests. The modified testfiles are: apply.test, basic.test, case.test, cmdIL.test, cmdMZ.test, compExpr-old.test, error.test, eval.test, event.test, expr.test, fileSystem.test, for.test, http.test, if.test, incr-old.test, incr.test, interp.test, io.test, ioCmd.test, load.test, misc.test, namespace.test, parse.test, parseOld.test, pkg.test, proc-old.test, set.test, switch.test, tcltest.test, thread.test, var.test, while-old.test, while.test.
* Fix test suite bugs exposed by -singleproc 1 -debug 1 run. Each testdgp2006-01-181-1/+3
| | | | | file needs to avoid stomping on the assumptions of other files, and protect against getting stomped as well.
* Fix two bugs in limits, one a crash and the other a failed flag reset.dkf2005-10-101-4/+60
|
* Fix an odd [after]-and-limits problem. [Bug 1221395]dkf2005-06-171-1/+18
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* Upgrade the capabilities of time limits by allowing them to fire in the midstdkf2004-12-161-2/+23
| | | | of the processing of the event loop or during a blocking [after]. [Bug 1085023]
* * tests/interp.test (interp-36.*): [interp bgerror] tests.dgp2004-11-181-1/+36
| | | | * generic/tclInterp.c: Corrected [interp bgerror] error messages.
* TIP #221 IMPLEMENTATIONdgp2004-11-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: Define [::tcl::Bgerror] in new interps. * generic/tclEvent.c: Update Tcl_BackgroundError to make use of the registered [interp bgerror] command. * generic/tclInterp.c: New [interp bgerror] subcommand. * tests/interp.test: syntax tests updated. TIP #226 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Save|Restore|Discard)InterpState * generic/tcl.h: New public opaque type, Tcl_InterpState. * generic/tclInt.h: Drop old private declarations. Add Tcl(Get|Set)BgErrorHandler * generic/tclResult.c: Tcl_*InterpState implementations. * generic/tclDictObj.c: Update callers. * generic/tclIOGT.c: * generic/tclTrace.c: TIP #227 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Get|Set)ReturnOptions. * generic/tclInt.h: Drop old private declarations. * generic/tclResult.c: Tcl_*ReturnOptions implementations. * generic/tclCmdAH.c: Update callers. * generic/tclMain.c:
* * doc/interp.n:Miguel Sofer2004-09-141-5/+12
| | | | | | * generic/tclInterp.c (TclPreventAliasLoop, AliasCreate): * tests/interp.test (17.4-6, 19.3-4): fixing problems with renaming of aliases [Bugs 707104 1026493]. Fix designed by dgp.
* TIP #173 and #209 implementation - see ChangeLog for detailsKevin B Kenny2004-08-181-4/+4
|
* TIP#207 IMPLEMENTATIONdgp2004-08-021-1/+14
| | | | | | | | | | * doc/interp.n: Added support for a -namespace option to the * generic/tclBasic.c: [interp invokehidden] command. Also added an * generic/tclInt.h: internal routine TclObjInvokeNamespace() and * generic/tclInterp.c: corrected the flag names TCL_FIND_ONLY_NS and * generic/tclNamesp.c: TCL_CREATE_NS_IF_UNKNOWN that are passed to the * generic/tclTrace.c: internal routine TclGetNamespaceForQualName(). * tests/interp.test: [Patch 981841]
* Test name was thoroughly misleadingdkf2004-05-271-2/+2
|
* * tests/autoMkindex.test (autoMkindex-5.2): Use variable "result"dgp2004-05-251-1/+2
| | | | | | | that gets cleaned up. * tests/exec.test: Clean up the "path" array. * tests/interp.test (interp-9.3): Initialize res, so prior values cannot make the test fail.
* Delete limit callbacks properly when the interpreters involved are deleted.dkf2004-05-201-1/+75
|
* Added test based on suggestion by Miguel Soferdkf2004-05-191-1/+17
|
* Enable a test of limiting tight loops.dkf2004-05-191-6/+7
|
* Spelling whoops! Moved constraint declaration to near top of filedkf2004-05-191-2/+3
|
* Massive test cleanup; all tests are run, and constraints are used where ↵dkf2004-05-191-76/+72
| | | | necessary.
* Tests of limit-exceeded callbacks and make sure that those callbacks can removedkf2004-05-181-1/+52
| | | | the limits if they see fit (as well as extending them).
* Improved TIP#143 tests and now track the number of bytecoded commands better.dkf2004-05-171-11/+17
|
* Expanding the tests avilable for TIP#143 features.dkf2004-05-141-1/+129
| | | | Now check that basic syntax is verified.
* TIP#143 implementation; still needs docs and more tests...dkf2004-05-131-148/+151
|
* * generic/tclCompile.c: New instruction code INST_START_CMDMiguel Sofer2004-03-301-2/+2
| | | | | | | | | * generic/tclCompile.h: that allows checking the bytecode's * generic/tclExecute.c: validity [Bug 729692] and the interp's * tests/interp.test (18.9): readyness [Bug 495830] before running * tests/proc.test (7.1): the command. It also changes the * tests/rename.test (6.1): mechanics of the async tests in TEBC, doing it now at command start instead of every 16 instructions.
* Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-26/+2
|
* * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* Typo correction: knownbug -> knownBugdgp2003-09-041-2/+2
|
* * generic/tclBasic.c:Miguel Sofer2003-06-101-1/+11
| | | | | | | * generic/tclExecute.c: let TclExecuteObjvInternal call TclInterpReady instead of relying on its callers to do so; fix for the part of [Bug 495830] that is new in 8.4. * tests/interp.test: Added tests 18.9 (knownbug) and 18.10
* * generic/tclInterp.c: (AliasObjCmd): Added refCounting of the wordsdgp2003-05-121-1/+10
| | | | | * tests/interp.test (interp-33.1): of the target of an interp alias during its execution. Also added test. [Bug 730244].
* Corrected error message for grammar and spelling.dkf2003-05-051-4/+4
|
* * generic/tclInterp.c (Tcl_InterpObjCmd): Corrected optiondgp2003-03-121-2/+5
| | | | | parsing beyond objc for [interp create --]. Thanks to Marco Maggi. [Bug 702383]
* * tests/interp.test:mdejong2003-02-051-3/+3
| | | | | | | * tests/set-old.test: Run test cases that depend on hash order through lsort so that the tests also pass under Jacl. Does not change test results under Tcl.
* * tests/interp.test: interp-14.4hobbs2002-11-231-1/+7
| | | | | * generic/tclInterp.c (TclPreventAliasLoop): prevent seg fault when creating an alias command over the interp name. [Bug #641195]
* bugfix, new tests for new [interp alias] codeMiguel Sofer2002-07-291-2/+26
|
* Fix for [Bug 582522] - aliases now fire execution traces on the targetMiguel Sofer2002-07-291-8/+8
| | | | command. Optimisation of alias invocation.
* * Updated the instructions on running and adding to the test suite.dgp2002-07-011-26/+28
| | | | | Also updated several tests, mostly to correctly create and destroy any temporary files in the [temporaryDirectory] of tcltest.
* * Added the [interp recursionlimit] command todgp2002-03-071-23/+522
| | | | | set/query the recursion limit of an interpreter. Proposal and implementation from Stephen Trier. [TIP 87, Patch 522849]
* * tests/interp.test:hobbs2001-11-161-1/+12
| | | | | * generic/tclInterp.c (SlaveObjCmd): Corrected argument checking for '$interp alias|aliases|issafe'. [Patch #479560] (thoyts, hobbs)
* * tests/interp.test: Print out warning whenmdejong2001-03-291-2/+23
| | | | | | testinterpdelete command is not defined. Add tests that checks to make sure a child interp inherits the parent's cwd.
* * tests/*.test: Changed all occurances of "namespace importericm2000-04-101-2/+2
| | | | ::tcltest" to "namespace import -force ::tcltest" [Bug: 3948].
* * tests/tcltest.test: Added additional tests for -tmpdir, markedjenn1999-08-231-2/+2
| | | | | | | | | | | | | | all tests that use exec as unixOrPc. * tests/encoding.test: * tests/interp.test: * tests/macFCmd.test: * tests/parseOld.test: * tests/regexp.test: Applied patches from Jim Ingham to add encoding to a Mac only interp test, change an error message in macFCmd.tet, put a comment in parseOld.test, fix tests using the testencoding path command, and put unixOrPc constraints on tests that use exec.
* Fixed style problems in many of the test files.rjohnson1999-06-261-10/+10
| | | | Fixed bug in pkg.test where defs.tcl was still being used.
* Modified the tests to use the package tcltestjenn1999-06-261-2/+3
|
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-44/+135
|