summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * tests/parse.test: Add two backslash newline parse tests.mdejong2007-03-151-1/+7
|
* Added test for [Bug 1675044].dgp2007-03-131-1/+18
|
* * generic/tclExecute.c (INST_FOREACH_STEP4): Make private copydgp2007-03-121-1/+13
| | | | | | * tests/foreach.test (foreach-10.1): of value list to be assigned to variables so that shimmering of that list doesn't lead to invalid pointers. [Bug 1671087]
* * generic/tclEvent.c (HandleBgErrors): Make efficient private copydgp2007-03-121-1/+18
| | | | | | * tests/event.test (event-5.3): of the command prefix for the interp's background error handling command to avoid panics due to pointers to memory invalid after shimmering. [Bug 1670155]
* * generic/tclNamesp.c (NsEnsembleImplementationCmd): Make efficientdgp2007-03-121-1/+15
| | | | | | | * tests/namespace.test (namespace-42.8): private copy of the command prefix as we invoke the command appropriate to a particular subcommand of a particular ensemble to avoid panic due to shimmering of the List intrep. [Bug 1670091]
* * generic/tclVar.c (TclArraySet): Make efficient private copy ofdgp2007-03-121-1/+13
| | | | | * tests/var.test (var-17.1): the "list" argument to [array set] to avoid crash due to shimmering invalidating pointers. [Bug 1669489].
* Fix [Bug 1675116]dkf2007-03-091-1/+5
|
* Modified test initialisation to use theKevin B Kenny2007-03-091-2/+8
| | | | | 'loadTestedCommands' function of tcltest to bring in the correct path for the registry library.
* * library/clock.tcl (ReadZoneinfoFile): Added Y2038 compliance toKevin B Kenny2007-03-091-1/+211
| | | | | | the code for version-2 'zoneinfo' files. * tests/clock.test (clock-56.3): Added a test case for Y2038 and 'zoneinfo'.
* * library/clock.tcl: Further tweaks to the Windows time zone tableKevin B Kenny2007-03-081-49/+178
| | | | | | | | | (restoring missing Mexican time zones). Added rudimentary handling of version-2 'zoneinfo' files. Update US DST rules so that zones such as 'EST5EDT' get the correct transition dates. * tests/clock.test: Added rudimentary test cases for 'zoneinfo' parsing. Adjusted several tests that depended on obsolete US DST transition rules.
* Add missing constraintsdgp2007-03-071-2/+2
|
* New US DST rules on Windows; Olson's tzdata2007cKevin B Kenny2007-03-071-6/+6
|
* * generic/tclCmdIL.c (Tcl_LreverseObjCmd): Added missingdgp2007-03-021-1/+4
| | | | | TclInvalidateStringRep() call when we directly manipulate the intrep of an unshared "list" Tcl_Obj. [Bug 1672585].
* Added a scheme to allow aux-data to be printed out for debugging. For this ↵dkf2007-03-021-1/+17
| | | | | | to work, immediate operands referring to aux-data must be identified as such in the instruction descriptor table using OPERAND_AUX4 (all are always 4 bytes). Rewrote the compiled [dict update] so that it stores critical non-varying data in an aux-data value instead of a (shimmerable) literal. [Bug 1671001]
* * generic/tclCmdAH.c (Tcl_ForeachObjCmd): Stop throwing awaydgp2007-03-011-3/+6
| | | | | * tests/foreach.test (foreach-1.14): useful error information when loop variable sets fail.
* Fix [Bug 1671138]dkf2007-03-011-6/+13
|
* Typo, more.andreas_kupries2007-02-221-2/+2
|
* Typo.andreas_kupries2007-02-221-2/+2
|
* * tests/pkg.test: Added tests for the case of an alpha packageandreas_kupries2007-02-221-1/+17
| | | | | | satisfying a require for the regular package, demonstrating a corner case specified in TIP#280. More notes in the comments to the test.
* Bug #1479814. Handle extended paths on Windows NT and above.patthoyts2007-02-201-1/+81
|
* * generic/tclNamesp.c: Corrected broken logic in Tcl_DeleteNamespace()dgp2007-02-081-4/+15
| | | | | | * tests/namespace.test: introduced in Patch 1577278 that caused [namespace delete ::] to be effective only at level #0. New test namespace-7.7 should prevent similar error in the future. [Bug 1655305]
* * generic/tclNamesp.c: Corrected broken implementation of thedgp2007-02-061-1/+6
| | | | | * tests/namespace.test: TclMatchIsTrivial optimization on [namespace children $namespace $pattern].
* * macosx/tclMacOSXFCmd.c (TclMacOSXSetFileAttribute): on some versionsdas2007-01-191-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | of Mac OS X, truncate() fails on resource forks, in that case use open() with O_TRUNC instead. * macosx/tclMacOSXNotify.c: accommodate changes to prototypes of OSSpinLock(Un)Lock API. * macosx/Tcl.xcodeproj/project.pbxproj: ensure HOME and USER env vars * macosx/Tcl.xcodeproj/default.pbxuser: are defined when running testsuite from Xcode. * tests/env.test: add extra system env vars that need to be preserved on some Mac OS X versions for testsuite to work. * unix/Makefile.in: move libtommath defines into configure.in to avoid * unix/configure.in: replicating them across multiple buildsystems. * macosx/Tcl.xcodeproj/project.pbxproj: * unix/tcl.m4: ensure CPPFLAGS env var is used when set. [Bug 1586861] (Darwin): add -isysroot and -mmacosx-version-min flags to CPPFLAGS when present in CFLAGS to avoid discrepancies between what headers configure sees during preprocessing tests and compiling tests. * unix/configure: autoconf-2.59 * unix/tclConfig.h.in: autoheader-2.59
* Small fixes to quell tests that fail on some kinds of Win systemsdkf2007-01-182-84/+112
|
* Detect [Bug 1638414]dkf2007-01-181-23/+6
|
* Fix [lindex] argument ordering. [bug 1631364]dkf2007-01-091-50/+9
|
* * generic/tclEncoding.c (EscapeFromUtfProc):mdejong2006-12-271-1/+61
| | | | | | | | | | | Clear the TCL_ENCODING_END flag when end bytes are written. This fix keep this method from writing escape bytes for an encoding like iso2022-jp multiple times when the escape byte overlap with the end of the IO buffer. * tests/io.test: Add test for escape byte overlap issue.
* * tests/macOSXLoad.test (new file): add testing of .bundle loading anddas2006-12-173-6/+46
| | | | | | | | | | | * tests/load.test: unloading on Darwin (in addition to * tests/unload.test: existing tests of .dylib loading). * macosx/Tcl.xcodeproj/project.pbxproj: add building of dltest binaries so that testsuite run from Xcode can use them; fix testsuite run script. * unix/configure.in: add support for building dltest binaries as * unix/dltest/Makefile.in: .bundle (in addition to .dylib) on Darwin. * unix/Makefile.in: add stub lib dependency to dltest target. * unix/configure: autoconf-2.59
* * tests/append.test: fix cleanup failure when all tests are skipped.das2006-12-171-2/+2
|
* * tests/chan.test (chan-16.9): cleanup chan event handler to avoiddas2006-12-171-1/+2
| | | | causing error in event.test when running testsuite with -singleproc 1.
* * tests/info.test: add !singleTestInterp constraint to tests that faildas2006-12-171-16/+16
| | | | when running testsuite with -singleproc 1. [Bug 1605269]
* adjust tcltest.tcl line numbers in info-22.8 & info-23.6 that changed by ↵das2006-12-101-3/+3
| | | | last tcltest.tcl commit.
* * generic/tclBasic.c: Another step down the path of re-usingdgp2006-12-081-5/+5
| | | | | | | | * generic/tclCompExpr.c: TclExecuteByteCode to implement the TIP 174 * generic/tclCompile.h: commands instead of using a mass of code * generic/tclMathOp.c: duplication. Now all operator commands that * tests/mathop.test: demand exactly one operation are implemented via TclSingleOpCmd and a call to TEBC.
* * generic/tclMathOp.c: More revisions to make tests pass.dgp2006-12-081-7/+7
| | | | * tests/mathop.test:
* More tests for bitopsdkf2006-12-081-37/+344
|
* * tests/mathop.test: Commmitted several new tests from Peter Spjuthdgp2006-12-071-4/+735
| | | | | found in [Patch 157837]. Many failures now demonstrate issues to fix in the TIP 174 implementation.
* More #174 bits and piecesdkf2006-12-071-2/+115
|
* Fixed line endings broken by a previous checking that caused test failures ↵patthoyts2006-12-071-717/+717
| | | | on windows.
* * generic/tclCompCmds.c: Revised and consolidated into utilitydgp2006-12-061-3/+3
| | | | | * tests/mathop.c: routines some of routines that compile the new TIP 174 commands. This corrects some known bugs. More to come.
* Improved error reporting in test expr-47.12Kevin B Kenny2006-12-061-8/+18
|
* * generic/tclBasic.c: TIP #291. Define tcl_platform element forandreas_kupries2006-12-052-3/+3
| | | | | | | | | | | | | | | | * doc/tclvars.n: pointerSize. * win/Makefile.in: Added installation instructions for the platform * win/makefile.vc: package. Added the platform package. * win/makefile.bc: * unix/Makefile.in: * tests/platform.test: * tests/safe.test: * library/platform/platform.tcl: * library/platform/shell.tcl: * library/platform/pkgIndex.tcl:
* * generic/tclPkg.c: When no requirements are supplied to adgp2006-12-051-3/+3
| | | | | | | | | | | | * tests/pkg.test: [package require $pkg] and [package unknown] is invoked to find a satisfying package, pass the requirement argument "0-" (which means all versions are acceptable). This permits a registered [package unknown] command to call [package vsatisfies $testVersion {*}$args] without any special handling of the empty $args case. This fixes/avoids a bug in [::tcl::tm::UnknownHandler] that was causing old TM versions to be provided in preference to newer TM versions. Thanks to Julian Noble for discovering the issue.
* Fix leaking-stderr test breakagedkf2006-12-041-8/+25
|
* Implement TIP#267dkf2006-12-041-688/+700
|
* TIP#299 IMPLEMENTATIONKevin B Kenny2006-12-012-3/+94
|
* * tests/chan.test: Correct timing sensitivity in new testdgp2006-12-011-3/+4
| | | | [Bug 1606860]
* TIP#287 IMPLEMENTATIONdgp2006-12-012-4/+114
| | | | | | | | | | * doc/chan.n: New subcommand [chan pending]. * generic/tclBasic.c: Thanks to Michael Cleverly for proposal * generic/tclInt.h: and implementation. * generic/tclIOCmd.c: * library/init.tcl: * tests/chan.test: * tests/ioCmd.test:
* Correct typos that produced duplicate test namesdgp2006-11-291-5/+5
|
* * generic/tclBasic.c: TIP #280 implementation.andreas_kupries2006-11-281-5/+630
| | | | | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
* * unix/tclUnixChan.c (TclUnixWaitForFile):Kevin B Kenny2006-11-271-1/+210
| | | | | | | * tests/event.test (event-14.*): Corrected a bug where TclUnixWaitForFile would present select() with the wrong mask on an LP64 machine if a fd number exceeds 32. Thanks to Jean-Luc Fontaine for reporting and diagnosing [Bug 1602208].