summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Revert commits of 20080723. Those were speed tests, that are inherently ↵ferrieux2009-02-222-19/+2
| | | | brittle.
* * generic/tclPathObj.c: Fixed mistaken logic in TclFSGetPathType()dgp2009-02-201-1/+7
| | | | | | * tests/fileName.test: that assumed (not "absolute" => "relative"). This is a false assumption on Windows, where "volumerelative" is another possibility. [Bug 2571597].
* * generic/tclStringObj.c: Factor out common GrowStringBuffer().dgp2009-02-171-2/+2
| | | | | | | | | | | * generic/tclStringObj.c: Convert Tcl_AppendStringsToObj into * tests/stringObj.test: a radically simpler implementation where we just loop over calls to Tcl_AppendToObj. This fixes [Bug 2597185]. It also creates a *** POTENTIAL INCOMPATIBILITY *** in that T_ASTO can now allocate more space than is strictly required, like all the other Tcl_Append* routines. The incompatibility was detected by test stringObj-6.5, which I've updated to reflect the new behavior.
* * generic/tclTestObj.c: Replace the [teststringobj ualloc] testingdgp2009-02-161-3/+3
| | | | | * tests/stringObj.test: command with [teststringobj maxchars] and update the tests.
* * generic/tclStringObj.c: Added protections from invalid memorydgp2009-02-161-1/+35
| | | | | | | * 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]
* Fix tricky point that meant it was next to impossible to extend [oo::define].dkf2009-02-121-1/+20
|
* Fix [Bug 2568434]dkf2009-02-051-38/+30
|
* * generic/tclInterp.c: Reverted the conversion of [interp] into andgp2009-02-022-18/+21
| | | | | | | | * 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
|
* Fix [Bug 2006888]dkf2009-01-291-46/+45
|
* * generic/tclInterp.c: Convert the [interp] command into adgp2009-01-292-16/+19
| | | | | | * tests/interp.test: [namespace ensemble]. Work in progress * tests/nre.test: to NRE-enable the [interp invokehidden] subcommand.
* Fix [Bug 2519474]dkf2009-01-291-1/+13
|
* Fix [Bug 2531577]dkf2009-01-271-1/+22
|
* Move [throw] implementation into C.dkf2009-01-131-1/+16
|
* Fix [Bug 1558654]dkf2009-01-091-14/+4
|
* Generate errorcodes for more cases.dkf2009-01-086-147/+126
|
* Narrow the focus of a failing test so that it succeeds (by only testing thatdkf2009-01-071-2/+2
| | | | which is supposed to be tested...)
* * tests/stringObj.test: Revise tests that demand a NULL Tcl_ObjTypedgp2009-01-061-13/+26
| | | | | | in certain values to construct those values with [testdstring] so there's no lack of robustness depending on the shimmer history of shared literals.
* Fix [Bug 2006879]dkf2009-01-061-2/+2
|
* Fix [Bug 2489836]dkf2009-01-061-1/+17
|
* Fix [Bug 2481109]dkf2009-01-061-3/+8
|
* Added a test, correct a dumb blunder.dkf2009-01-051-2/+18
|
* make test case work, correct date of commit in ChangeLogKevin B Kenny2009-01-031-2/+3
|
* * library/clock.tcl (tcl::clock::add): Fixed error message formattingKevin B Kenny2009-01-031-1/+9
| | | | | | in the case where [clock add] is presented with a bad switch. * tests/clock.test (clock-65.1) Added a test case for the above problem [Bug 2481670].
* fix 64bit test failuresdas2008-12-211-5/+5
|
* * tests/io.test: Add missing [close $f] to io-73.2.dgp2008-12-191-4/+7
|
* * tests/chanio.test: Add missing [removeFile] cleanups.dgp2008-12-191-5/+11
|
* * tests/chanio.test: Replaced [chan event] handlers thatdgp2008-12-191-5/+11
| | | | | | returned TCL_RETURN return code, with more conventional ones that return TCL_OK to suppress otherwise strange writes of outdated $::errorInfo values to stderr. [Bug 2444274].
* * generic/tclIO.c (Tcl_CloseEx,CloseWrite,CloseChannelPart,ChanCloseHalf):andreas_kupries2008-12-181-9/+9
| | | | | | | | | | | | | Rewrite the half-close to properly flush the channel, like is done for a full close, going through FlushChannel, and using the flag BG_FLUSH_SCHEDULED (async flush during close). New functions CloseWrite, CloseChannelPart, new flag CHANNEL_CLOSEDWRITE. * tests/chanio.test (chanio-28.[67]): Reactivated these tests. Replaced tclsh -> [interpreter] to get correct executable for the pipe process, and added after cancel to kill the fail timers when we are done. Removed the explicits calls to [flush], now that [close] handles this correctly.
* Converted 'if 0' into 'knownBug' constraintsdkf2008-12-181-242/+80
|
* Compressing and decompressing channel transformation support.dkf2008-12-181-6/+31
| | | | Note that there may be "quality-of-implementation" issues left...
* Temporarily disable half-close test because of issue in tcltest cleanupferrieux2008-12-181-3/+3
|
* TIP #332 IMPLEMENTATION - Half-Close for Bidirectional Channelsferrieux2008-12-183-10/+85
|
* Fix [Bug 2433936]dkf2008-12-172-118/+34
|
* Added tests for [throw] and [try].dkf2008-12-161-41/+563
|
* Fi [Bug 2431847]dkf2008-12-151-1/+7
|
* Fix [Bug 2380293]. Redefine non-strict decoding to ignore only whitespace.ferrieux2008-12-151-1/+9
|
* Added constraintsdkf2008-12-141-18/+20
|
* Many improvements to docsdkf2008-12-131-2/+2
|
* Added test for gzip header accessdkf2008-12-121-1/+6
|
* * generic/tclIO.c (SetChannelFromAny and related): Modified theandreas_kupries2008-12-111-1/+11
| | | | | | | | * tests/io.test: internal representation of the tclChannelType to contain not only the ChannelState pointer, but also a reference to the interpreter it was made in. Invalidate and recompute the internal representation when it is used in a different interpreter (Like cmdName intrep's). Added testcase. [Bug 2407783].
* Added basic test suite for zlibdkf2008-12-111-0/+104
|
* Fallback to European time zone DST rules, when the timezone isnijtmans2008-12-111-1/+23
| | | | between 0 and -12 [Bug 2207436].
* TIP #343 IMPLEMENTATION - A Binary Specifier for [format/scan]ferrieux2008-12-102-4/+11
|
* Implement TIP#341.dkf2008-12-101-13/+19
|
* Set the file channel to binary for size comparison on windowspatthoyts2008-12-091-3/+4
|
* Fix [Bug 2371623] with a constraint.dkf2008-12-011-3/+4
|
* * library/clock.tcl (format, ParseClockScanFormat): Added aKevin B Kenny2008-11-301-1/+14
| | | | | | | [string map] to get rid of namespace delimiters before caching a scan or format procedure [Bug 2362156]. * tests/clock.test (clock-64.[12]): Added test cases for the bug that was tickled by a namespace delimiter inside a format string.
* Implementation of TIP #210.dkf2008-11-291-3/+50
|
* Moved a number of tests to the newer style.patthoyts2008-11-291-102/+122
|