summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add tn, ro_MO and ru_MO to msgcat. jan.nijtmans2012-06-291-6/+6
| | | | Make it work on cygwin (backported) Bump msgcat to 1.3.5
* Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-5/+5
| | | Simplify stub tables for functions which work on both UNIX and windows
* http package. Fix Bug 3498327. Generate upper-case hexadecimal output for ↵andreask2012-03-071-6/+6
| | | | compliance with RFC 3986. Bumped version to 2.5.7.
* oops, that's no utf-8 BOM ;-(jan.nijtmans2012-02-291-1/+1
|
* Make test clearer to future maintainers.dkf2012-02-201-4/+4
|
* [Bug 3466099] BOM in Unicodejan.nijtmans2012-02-191-0/+15
|
* 3484621 Invalidate bytecode when exec traces are added/removed from compiled ↵dgp2012-02-061-0/+33
| | | | cmd.
* Backport patch 2834a01435 to prevent test failures from timing matters.dgp2012-01-232-2/+3
|
* [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2012-01-091-0/+28
|
* [Bug 3464428] string is graph \u0120 is wrongjan.nijtmans2011-12-231-3/+18
|
* [Bug 3444754] string tolower \u01c5 is wrongjan.nijtmans2011-12-071-2/+2
|
* revert test-case change from [Bug 2935503]jan.nijtmans2011-10-131-3/+3
|
* [Bug 2935503] Incorrect mode field returned by file stat commandjan.nijtmans2011-10-111-3/+3
|
* Fix env.test, when running under wine 1.3 (partly backported from Tcl 8.6)jan.nijtmans2011-10-071-19/+33
|
* [Bug 3393714] overflow in toupper deltajan.nijtmans2011-08-181-2/+3
|
* 3366265 Buffer allocated one byte too small caused overrun.dgp2011-07-132-0/+10
|
* comment fixjan.nijtmans2011-05-061-3/+3
|
* Fixed the shift in line numbers used for testing 'info frame' introduced by ↵andreask2011-04-201-0/+2
| | | | checkin [79367df0f0] (Mar 2, 2011).
* * generic/tclParse.c (TclParseBackslash): Correct trunction checks indgp2011-03-061-0/+38
| | | * tests/parse.test: \x and \u substitutions. [Bug 3200987]
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-01132-270/+0
| | | more harm than good. Purged them.
* [Bug 3085863]: tclUniData 9 years oldnijtmans2010-10-231-17/+18
| | | | Upgrade everything to Unicode 6.0, except non-BMP characters > 0xFFFF
* * generic/tclExecute.c: [Bug 3057639]. Applied patch by Jeff toandreas_kupries2010-09-012-7/+125
| | | | | | | * generic/tclVar.c: make the behaviour of lappend in bytecompiled * tests/append.test: mode consistent with direct-eval and 'append' * tests/appendComp.test: generally. Added tests (append*-9.*) showing the difference.
* Fix [Bug 2954959] expr abs(-0.0) is -0.0nijtmans2010-02-221-2/+19
| | | | Added some test cases, adapted and backported from 8.5
* Backport test to prove Tcl 8.4 is not buggy (2918610).dgp2010-01-051-1/+16
|
* (Backport) Fix [Bug 2891556] and improve test to detect similar ↵ferrieux2009-11-161-1/+2
| | | | manifestations in the future.
* * generic/tclIO.c (CopyData): [Bug 2895565]. Dropped bogosityandreas_kupries2009-11-121-1/+32
| | | | | | * tests/io.test: which used the number of _written_ bytes or character to update the counters for the read bytes/characters. New test io-53.11. This is a backward port from the 8.5 branch.
* Fixed a number of test issues for Vista and Win7.patthoyts2009-11-104-263/+330
| | | | | These test failures are due to the more restrictive permissions on the newer versions of Windows.
* * tests/info.test: Resolve ambiguous resolution of variableandreas_kupries2009-11-091-2/+2
| | | | "res". Backport from 8.5
* Fix for [Bug 1565466]Joe Mistachkin2009-10-181-4/+7
|
* * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-251-12/+251
| | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, ListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-22): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script's, to properly account for them while counting lines for #280, during direct and compiled execution.
* regression testsdgp2009-08-211-1/+33
|
* another testdgp2009-08-191-1/+11
|
* test for 2806250dgp2009-08-181-1/+11
|
* nicer test failure modedgp2009-08-181-2/+2
|
* * generic/tclFileName.c: Correct result from [glob */test] when *dgp2009-08-171-1/+32
| | | | * tests/fileName.test: matches something like ~foo. [Bug 2837800]
* * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-141-1/+19
| | | | | | | | | | | | | | | | | | | | | | TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.4 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
* * generic/tclCompile.c: The value stashed in iPtr->compiledProcPtrdgp2009-06-131-1/+14
| | | | | | | | | | | | | * generic/tclProc.c: when compiling a proc survives too long. We * tests/execute.test: only need it there long enough for the right TclInitCompileEnv() call to re-stash it into envPtr->procPtr. Once that is done, the CompileEnv controls. If we let the value of iPtr->compiledProcPtr linger, though, then any other bytecode compile operation that takes place will also have its CompileEnv initialized with it, and that's not correct. The value is meant to control the compile of the proc body only, not other compile tasks that happen along. Thanks to Carlos Tasada for discovering and reporting the problem. [Bug 2802881].
* * generic/tclStringObj.c: Added protections from invalid memorydgp2009-03-301-1/+34
| | | | | | | * generic/tclTestObj.c: accesses when we append (some part of) * tests/stringObj.test: a Tcl_Obj to itself. Added the appendself and appendself2 subcommands to the [teststringobj] testing command and added tests to the test suite. [Bug 2603158]
* * tests/fileName.test: Tests for [Bug 2710920] to guard againstdgp2009-03-271-1/+13
| | | | its appearance.
* * generic/tclStringObj.c: Test stringObj-6.9 checks thatdgp2009-03-211-1/+7
| | | | | * tests/stringObj.test: Tcl_AppendStringsToObj() no longer crashes when operating on a pure unicode value. [Bug 2597185]
* * generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType()dgp2009-02-201-1/+8
| | | | | | * tests/fileName.test: that assumed (not "absolute" => "relative"). This is a false assumption on Windows, where "volumerelative" is another possibility. [Bug 2571597].
* * tests/fileName.test: Revise new tests for portability to casedgp2008-08-141-4/+4
| | | | insensitive filesystems.
* * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-2/+40
| | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
* * 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.
* * generic/tclBasic.c: Added missing release of extended commandandreas_kupries2008-07-281-82/+102
| | | | | | | | | | | | | | | word index when deleting an interpreter (DeleteInterpProc). Added missing ref count when creating an empty string as path (EvalEx). * generic/tclCompile.c (TclInitCompileEnv): Made same change to control flow as in TclEvalObjEx. Not needed while uplevel and siblings go through the eval-direct code path, however if that changes (like it did in 8.5+) better to have this in place instead of re-searching why certain places are without absolute locations. * tests/info.test: Added tests 38.*, exactly testing the tracking of location for uplevel scripts, and made the testsuite fully usable with and without -singleproc 1.
* * tests/info.test: Add !singleTestInterp constraint to various tests;das2008-07-251-27/+27
| | | | | (info-22.8, info-23.0): switch to glob matching to avoid sensitivity to tcltest.tcl line number changes. [Bug 1605269]
* * tests/info.test: Tests 38.* added, exactly testing the trackingandreas_kupries2008-07-241-1/+86
| | | | of location for uplevel scripts.
* Contrain the new test to run only when tip280 is active.andreas_kupries2008-07-231-2/+2
|
* * generic/tclBasic.c: Modified TclArgumentGet to reject pure listsandreas_kupries2008-07-231-12/+38
| | | | | | | | | | * 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.
* * tests/binary.test: Corrected flawed tests revealed by a -debug 1dgp2008-06-202-10/+4
| | | | * tests/io.test: -singleproc 1 test suite run.