summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclProc.c (Tcl_ProcObjCmd): Fixed memory leak triggeredandreas_kupries2008-08-111-5/+31
| | | | | | * tests/proc.test: by procbody::test::proc. See [Bug 2043636]. Added a test case demonstrating the leak before the fix. Fixed a few spelling errors in test descriptions as well.
* (lrange-1.17): add test cleanup; whitespacedas2008-08-091-7/+7
|
* * generic/tclOO.c: Revised TclOO's check for an interpdgp2008-08-061-1/+29
| | | | | | | | | | being deleted during handling of object command deletion. The old code was relying on documented features of command delete traces that do not in fact work. [Bug 2039178]. * tests/oo.test (oo-26.*): Added tests that demonstrate failure of TclOO to check for various kinds of invalid bytecode during method dispatch. [Bug 2037727].
* * generic/tclExecute.c: Fix for [Bug 2038069] by dgp.Miguel Sofer2008-08-051-1/+16
| | | | * tests/execute.test:
* * tests/nre.test: added tests for [if], [while] and [for]. A testMiguel Sofer2008-08-041-2/+45
| | | | | for [foreach] has been added and marked as knownbug, awaiting for it to be NR-enabled.
* missing commit to tests/unsupported.testMiguel Sofer2008-08-041-1/+51
|
* * generic/tclExecute.c: Stopped faulty double-logging of errors todgp2008-08-041-1/+22
| | | | | | * tests/execute.test: stack trace when a compile epoch bump triggers fallback to direct evaluation of commands in a compiled script. [Bug 2037338]
* * generic/tclBasic.c: new unsupported command atProcExitMiguel Sofer2008-08-031-11/+157
| | | | | | | | | * generic/tclCompile.h: that shares the implementation with * generic/tclExecute.c: tailcall. Fixed a segfault in * generic/tclInt.h: tailcalls. Tests added. * generic/tclInterp.c: * generic/tclNamesp.c: * tests/unsupported.test:
* remove NRE.test & add new test files to Tcl.xcodeprojdas2008-08-031-0/+0
|
* * tests/NRE.test: made empty, waiting for removal until das doesMiguel Sofer2008-08-023-476/+543
| | | | | | | | his thing in macosx/Tcl.xcodeproj/project.pbxproj * tests/nre.test: migrated tests to standard locations, * tests/unsupported.test: separating core functionality from the experimental commands. These are new files.
* * 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.
* * tests/NRE.test: replaced all deep-recursing tests by shallowerMiguel Sofer2008-08-011-246/+122
| | | | | tests that actually measure the C-stack depth. This makes them bearable again (even under memdebug) and avoid crashing on failure.
* * generic/tclBasic.c: NR-enabling [catch]Miguel Sofer2008-07-311-1/+18
| | | | | | * generic/tclCmdAH.c: * generic/tclInt.h: * tests/NRE.test:
* restricting usage and avoiding panics in [tailcall]Miguel Sofer2008-07-311-88/+7
|
* * generic/tclBasic.c: Improved tailcalls and tests.Miguel Sofer2008-07-311-50/+64
| | | | | | | * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclTest.c: * tests/NRE.test:
* * tests/NRE.test: new tests that went MIA in the NRE revampingMiguel Sofer2008-07-291-3/+223
|
* * 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-252-18/+98
| | | | | | | | | | | | | | | | | 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]
* Added relative speed test for pure byte array concats.ferrieux2008-07-231-1/+12
|
* Added relative speed test for lrange, checking fro in-place optimization.ferrieux2008-07-231-2/+7
|
* * 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" messages (follow-up)nijtmans2008-07-215-15/+15
|
* Added test for file rename with inode collision on windowspatthoyts2008-07-211-1/+39
|
* fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-218-35/+35
|
* Resync with recent ?arg ...? normalizationferrieux2008-07-212-4/+4
|
* TIP #304 implementationferrieux2008-07-213-14/+46
|
* * generic/tclBasic.c: NRE: enabled calling NR commandsMiguel Sofer2008-07-211-12/+23
| | | | | | | | * generic/tclExecute.c: from the callbacks. Completely * generic/tclInt.h: redone tailcall implementation * generic/tclNRE.h: using the new feature. * generic/tclProc.c: * tests/NRE.test:
* add cleanup to fix subsequent test failures with -singleproc 1das2008-07-201-14/+36
|
* * tests/fileName.test: Repaired the failing test fileName-15.7Kevin B Kenny2008-07-201-2/+2
| | | | from dkf's commit earlier today.
* Reduce obscurity of tests by eliminating many [catch]es through use of tcltest2dkf2008-07-201-624/+549
|
* Finish cleaning up this file (move cleanup actions out of test bodies, etc.)dkf2008-07-201-96/+124
|
* fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-1925-67/+67
|
* Fix miguel's problem with env failures; need LANG to get [encoding system]dkf2008-07-191-30/+32
| | | | right in subprocesses...
* More test cleanup.dkf2008-07-191-273/+237
|
* Rewrite to use tcltest2 and not generate non-ascii chars in results.dkf2008-07-191-55/+58
| | | | Part of fix of [Bug 1513659]
* * tests/NRE.test: Added basic tests for deep TclOO callsMiguel Sofer2008-07-181-1/+89
|
* * tests/NRE.test: better constraint for testing theMiguel Sofer2008-07-162-7/+14
| | | | | * tests/stack.test: existence of teststacklimit, to insure that the testsuite runs under tclsh.
* * generic/tclParse.c: reverting the "fix" for [Bug 2017583],Miguel Sofer2008-07-141-3/+3
| | | | | * tests/parse.test: numLevel management and TclInterpReady check seems to be necessary after all.
* * generic/tclParse.c: remove unnecessary numLevel managementMiguel Sofer2008-07-141-3/+3
| | | | [Bug 2017583]
* more consistent wrong # arg messages: change all messages containing ↵nijtmans2008-07-1312-37/+37
| | | | ?options? to the form ?-option value ...?
* added new files generic/tclNRE.h and tests/NRE.testMiguel Sofer2008-07-131-0/+308
|
* NRE implementation [Patch 2017110]Miguel Sofer2008-07-133-12/+12
|
* Fix [2006884]dkf2008-07-011-10/+8
|
* * library/tm.tcl: Modified the handling of Tcl Modules and of theandreas_kupries2008-06-251-9/+9
| | | | | | * library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe * tests/safe.test: interpreters. Fixes [Bug 1999119].
* * changes: Updates for 8.6a1 release.dgp2008-06-207-22/+56
| | | | | | | | | | | | | | * 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:
* * tests/encoding.test: Make failing tests pass again.dgp2008-06-201-1/+3
|