summaryrefslogtreecommitdiffstats
path: root/tests/basic.test
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2020-09-041-2/+4
|\
| * Let all test-cases load the "tcltest" package the same way. Depend on ↵jan.nijtmans2020-09-041-2/+4
| | | | | | | | tcltest 2.5, since we never test with earlier tcltest versions
* | Merge 8.6jan.nijtmans2020-09-011-3/+3
|\ \ | |/
| * Many more internal master/slave -> parent/child renamingsjan.nijtmans2020-09-011-14/+14
| |
* | Merge 8.6jan.nijtmans2019-09-171-1/+1
|\ \ | |/
| * Add missing constraints to test-casesjan.nijtmans2019-09-171-1/+1
| |
* | merge 8.6 - missed basic.test on prior mergeKevin B Kenny2019-05-041-0/+12
|\ \ | |/
| * Make sure we test [2c154a40be] explicitly. Part of [cc191552c]dkf2019-05-041-0/+12
| |
* | merge 8.6 (regression bug-[cc1e91552c], etc)sebres2019-01-091-0/+6
|\ \ | |/
| * amend to [a87460dbd4], added clean-up to avoid error {can't set "a(x)": ↵sebres2019-01-081-2/+4
| | | | | | | | variable isn't array} on next iteration of noComp loop.
| * bug [cc1e91552c]: added test cases showing the regression (expansion & lrange)sebres2019-01-081-0/+4
| |
* | Merge over testing improvements from the TIP 475 work.dgp2018-03-201-1/+1
| | | | | | | | Test files string.test and stringComp.test had become out of sync. Use one file to maintain even coverage.
* | No need to set/restore tcl_precision in this test-casejan.nijtmans2018-02-271-7/+3
| |
* | [586e71dce4] Exeception handling at level #0 by EvalObjvdgp2017-12-191-0/+10
|\ \ | |/
| * [586e71dce4] Exeception handling at level #0 by EvalObjvdgp2017-12-191-0/+10
| |
* | [0e4d88b650] Allow command overwrite when deletion callback deletes namespace.dgp2017-09-021-0/+15
|\ \ | |/
| * [0e4d88b650] Allow command overwrite when deletion callback deletes namespace.dgp2017-09-021-0/+15
| |\
| | * Add testdgp2017-09-021-0/+15
| | |
* | | Eliminate exess spacings in many test-casesjan.nijtmans2016-03-101-11/+11
|/ /
* | 3605719,3605720 Test independence. Thanks Rolf Ade for patches.dgp2013-02-251-2/+12
|\ \ | |/
| * 3605719,3605720 Test independence. Thanks Rolf Ade for patches.dgp2013-02-251-2/+12
| |
* | For Parse/eval & msgcat, select modernizations from Patrick Fradin + -debug fixdgp2013-01-301-9/+9
|\ \ | |/
| * For Parse/eval, select modernizations from Patrick Fradin.dgp2013-01-301-9/+9
| |
* | 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-3/+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-3/+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-3/+0
| | | | | | | | | more harm than good. Purged them.
| | * * generic/tclCmdMZ.c: Corrected broken trace reversal logic indgp2007-06-271-1/+5
| | | | | | | | | | | | | | | | | | * generic/tclTest.c: TclCheckInterpTraces that led to infinite loop * tests/basic.test: when multiple Tcl_CreateTrace traces were set and one of them did not fire due to level restrictions. [Bug 1743931].
| | * * generic/tclBasic.c (Tcl_EvalEx,TclEvalTokensStandard):dgp2005-03-181-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdMZ.c (Tcl_SubstObj): * tests/basic.test (basic-46.4): Restored recursion limit * tests/parse.test (parse-19.*): testing in nested command substitutions within direct script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
| | * * generic/tclBasic.c (Tcl_EvalObjEx):Miguel Sofer2005-02-101-1/+19
| | | | | | | | | | | | | | | | | | * tests/basic.test (basic-26.2): preserve the arguments passed to TEOV in the pure-list branch, in case the list shimmers away. Fix for [Bug 1119369], reported by Peter MacDonald.
| | * * tests/compile.test (compile-12.4): Backport test for Bug 1001997.dgp2004-10-261-1/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/tclMain.c (Tcl_Main, StdinProc): Append newline onlydgp2004-07-281-3/+2
| | | | | | | | | | | | | | | | | | * tests/basic.test (basic-46.1): to incomplete scripts as part of multi-line script construction. Do not add an extra trailing newline to the complete script. [Bug 833150]
| | * * generic/tclCmdMZ.c (TclCheckInterpTraces): The TIP 62dgp2004-03-011-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | * generic/tclTest.c (TestcmdtraceCmd): implementation introduced a * tests/basic.test (basic-39.10): bug by testing the CallFrame level instead of the iPtr->numLevels level when deciding what traces created by Tcl_Create(Obj)Trace to call. Added test to expose the error, and made fix. [Request 462580]
| | * * tests/basic.test: Made several tests more robust to thedgp2004-02-251-26/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * tests/cmdMZ.test: list-quoting of path names that might * tests/exec.test: contain Tcl-special chars like { or [. * tests/io.test: Should help us sort out Tcl Bug 554068. * tests/pid.test: * tests/socket.test: * tests/source.test: * tests/unixInit.test:
| | * Corrected error message for grammar and spelling.dkf2003-05-051-2/+2
| | |
* | | * generic/tclCompile.c: Re-implement Tcl_SubstObj() as a simpledgp2009-09-171-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclParse.c: wrapper around TclNRSubstObj(). This has * tests/basic.test: the effect of caching compiled bytecode in * tests/parse.test: the value to be substituted. Note that Tcl_SubstObj() now exists only for extensions. Tcl itself no longer makes any use of it. Note also that TclSubstTokens() is now reachable only by Tcl_EvalEx() and Tcl_ParseVar() so tests aiming to test its functioning needed adjustment to still have the intended effect.
* | | * generic/tclCompCmds.c (TclCompileSubstCmd): Added a bytecodedgp2009-09-041-2/+2
|/ / | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: compiler routine for the [subst] command. * generic/tclCmdMZ.c: This is a partial solution to the need to * generic/tclCompile.c: NR-enable [subst] since bytecode execution is * generic/tclCompile.h: already NR-enabled. [Bug 2314561] Two new * generic/tclExecute.c: bytecode instructions, INST_NOP and * generic/tclInt.h: INST_RETURN_CODE_BRANCH were added to support * generic/tclParse.c: the new routine. INST_RETURN_CODE_BRANCH is * tests/basic.test: likely to be useful in any future effort to * tests/info.test: add a bytecode compiler routine for [try]. * tests/parse.test:
* | Whitespace policing, replacing commas in varargs with constant string ↵Kevin B Kenny2007-04-201-3/+3
| | | | | | | | catenation, and fixed an oversight in the fix for NZA time zones.
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-72/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]
* | * tests/*.test: updated all tests to refer explicitly to thetip_278_20061009Miguel Sofer2006-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-5/+13
| | | | | | | | | | file needs to avoid stomping on the assumptions of other files, and protect against getting stomped as well.
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | * generic/tclBasic.c (Tcl_EvalEx): Restored recursion limitdgp2005-03-181-4/+2
| | | | | | | | | | | | | | | | * generic/tclParse.c (TclSubstTokens): testing in nested command * tests/basic.test (basic-46.4): substitutions within direct * tests/parse.test (parse-19.*): script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
* | * tests/basic.test (basic-26.3): new testMiguel Sofer2005-02-111-2/+21
| |
* | * generic/tclBasic.c (Tcl_EvalObjEx):Miguel Sofer2005-02-101-1/+19
| | | | | | | | | | | | * tests/basic.test (basic-26.2): preserve the arguments passed to TEOV in the pure-list branch, in case the list shimmers away. Fix for [Bug 1119369], reported by Peter MacDonald.
* | * tests/basic.test: Updated functional (not testing) uses ofdgp2004-11-181-8/+14
| | | | | | | | | | | | | | | | * tests/io.test: [bgerror] to make use of [interp bgerror]. * tests/socket.test: * tests/timer.test: * generic/tclInterp.c: Corrected [interp bgerror] error message.
* | * tests/basic.test: Added missing constraints.dgp2004-10-261-3/+3
| | | | | | | | | | | | | | * tests/compile.test: * tests/fileSystem.test: * tests/init.test (init-2.8): Updated to not rely on http package.
* | * tests/basic.test (49.*): New tests for TCL_EVAL_GLOBAL.dgp2004-09-291-1/+21
| |
* | * generic/tclBasic.c: Removed internal routines TclInvoke,dgp2004-09-271-11/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.decls: TclGlobalInvoke, TclObjInvokeGlobal and * tests/basic.test: the portion of TclObjInvoke that handles calls without TCL_INVOKE_HIDDEN enabled. None of this code is called any longer within the core, and the superior public interface, Tcl_EvalObjv, is available for any external callers. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclEvent.c (HandleBgErrors): Updated [bgerror] invocations to make use of Tcl_Obj based routines, dropping the calls to TclGlobalInvoke()
* | overlooked update to tests.dgp2004-03-291-3/+2
| |