summaryrefslogtreecommitdiffstats
path: root/tests/interp.test
Commit message (Collapse)AuthorAgeFilesLines
* New(ish) test interp-14.11 was missing its -cleanup.dgp2017-03-221-0/+2
|
* Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵kbk_clock_encoding_ensemblesKevin B Kenny2017-03-141-1/+1
| | | | interps
* (cherry-pick): Fix [2bf561854c55a], interp alias to command whose name is ↵jan.nijtmans2016-10-031-0/+11
| | | | the empty string.
* [77d58e3a7a] Test case independence: interp.dkf2016-07-151-14/+33
|
* Correct -singleproc 1 testing flaws.dgp2014-11-071-2/+2
|
* Add several tests to check consistency of stack traces.dgp2013-08-141-0/+14
|
* 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)
* [Bug 3414769]: Updated list of default-hidden commands for safe interps.dkf2011-09-291-1/+1
|
* [Bug 3398794]: Use Tcl errors in scripts, not panics.dkf2011-08-301-4/+8
|\
| * [Bug 3398794]: Use Tcl errors in scripts, not panics.dkf2011-08-301-0/+7
| |
* | Fix most of the failing tests (some of which were due to breakage done to thedkf2011-03-101-5/+5
| | | | | | parser used in auto_mkIndex; never a good idea to delete the ::tcl NS!)
* | 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.
| | * * tests/appendComp.test: Backport test suite fixes of errorsdgp2004-10-281-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/autoMkindex.test: revealed by -singleproc 1 -debug 1 * tests/exec.test: options to make test. * tests/execute.test: * tests/interp.test: * tests/io.test: * tests/namespace.test: * tests/regexpComp.test: * tests/stringComp.test: * tests/unixInit.test: * tests/winPipe.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]
| * | * doc/interp.n: [3081184] TIP #378.andreas_kupries2010-11-151-5/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/tclvars.n: Performance fix for TIP #280. * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclInterp.c: * tests/info.test: * tests/interp.test:
| * | [Bug 2895741]: Make min() and max() supported in safe interpreters.dkf2009-12-291-25/+47
| | |
| * | [Bug 2891362]: Make time limits work better with the event loop.dkf2009-12-281-1/+13
| | |
| * | * generic/tclInterp.c: Fixed completely boneheaded mistake thatdgp2008-06-201-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/event.test: -singleproc 1 test suite run. * tests/io.test:
* | | Clean up of tests and conversion to tcltest 2. Target has been to get init anddkf2011-01-011-4/+4
| | | | | | | | | | | | cleanup code out of the test body and into the -setup/-cleanup stanzas.
* | | * generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...):dkf2010-12-091-177/+151
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Break up [file] into an ensemble. Note that the ensemble is safe in itself, but the majority of its subcommands are not. * generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd) (TclFileMakeDirsCmd): Adjust these subcommand implementations to work inside an ensemble. (TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these subcommand implementations from tclCmdAH.c, where they didn't really belong. * generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate source file. * generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make partially-safe ensembles. Currently does not function as expected due to various shortcomings in how safe interpreters are constructed. * tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates to take into account systematization of error messages.
* | | * doc/interp.n: [3081184] TIP #378.andreas_kupries2010-11-151-5/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/tclvars.n: Performance fix for TIP #280. * generic/tclBasic.c: * generic/tclExecute.c: * generic/tclInt.h: * generic/tclInterp.c: * tests/info.test: * tests/interp.test:
* | | [Bug 2895741]: Make min() and max() supported in safe interpreters.dkf2009-12-291-251/+267
| | |
* | | Slight improvement of test so it shouldn't block forever if it failsdkf2009-12-281-2/+6
| | |
* | | [Bug 2891362]: Make time limits work better with the event loop.dkf2009-12-281-81/+21
| | |
* | | * tests/interp.test: interp-20.50 test for Bug 2486550.dgp2009-05-061-1/+9
| | |
* | | * generic/tclInterp.c: Reverted the conversion of [interp] into andgp2009-02-021-15/+16
| | | | | | | | | | | | | | | | | | | | | | | | * tests/interp.test: ensemble. Such conversion is not necessary * tests/nre.test: (or even all that helpful) in the NRE-enabling of [interp invokehidden], and it has other implications -- including significant forkage of the 8.5 and 8.6 implementations -- that are better off avoided if there's no gain.
* | | improved test fixesdgp2009-01-301-13/+7
| | |
* | | * generic/tclInterp.c: Convert the [interp] command into adgp2009-01-291-11/+16
| | | | | | | | | | | | | | | | | | * tests/interp.test: [namespace ensemble]. Work in progress * tests/nre.test: to NRE-enable the [interp invokehidden] subcommand.
* | | * generic/tclCmdAH.c: nre-enabling [eval]; eval scripts are nowMiguel Sofer2008-09-011-17/+179
| | | | | | | | | | | | | | | | | | | | | * generic/tclOOBasic.c: bytecompiled. Adapted recursion limit tests * tests/interp.test: that were relying on eval not being * tests/nre.test: compiled. Part of the [Bug 2017632] project. * tests/unsupported.test:
* | | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| | |
* | | more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-131-3/+3
| | | | | | | | | | | | ?options? to the form ?-option value ...?
* | | NRE implementation [Patch 2017110]Miguel Sofer2008-07-131-6/+6
| | |
* | | * changes: Updates for 8.6a1 release.dgp2008-06-201-4/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInterp.c: Fixed completely boneheaded mistake that * tests/interp.test: [interp bgerror $slave] and [$slave bgerror] would always act like [interp bgerror {}]. [Bug 1999035]. * tests/chanio.test: Corrected flawed tests revealed by a -debug 1 * tests/cmdAH.test: -singleproc 1 test suite run. * tests/event.test: * tests/interp.test: * tests/io.test: * tests/ioTrans.test: * tests/namespace.test:
* | | 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
| |