summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* 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].
* More bits and pieces of the TIP#174 implementationdkf2006-11-261-0/+184
|
* Silence complaints caused by [namespace import] returning current importsdkf2006-11-232-10/+6
|
* [string is list] tests: fixed mixed up test name, added test of unicode handlingdkf2006-11-221-2/+6
|
* TIP#269 implementationdkf2006-11-221-3/+48
|
* * tests/fCmd.test (fCmd-6.26): fix failure when env(HOME) path containsdas2006-11-101-2/+2
| | | | | | | | | | | | | | symlinks. * macosx/Tcl.xcodeproj/project.pbxproj: remove tclParseExpr.c; when running testsuite from inside Xcdoe, skip stack-3.1 (it only fails under those circumstances). * unix/tcl.m4 (Darwin): suppress linker arch warnings when building universal for both 32 & 64 bit and no 64bit CoreFoundation is available; sync with tk tcl.m4 change. * unix/configure.in: whitespace. * unix/configure: autoconf-2.59
* Optimize for the unshared case.dkf2006-11-092-6/+16
|
* Implemented [string reverse].dkf2006-11-092-8/+16
| | | | Finalizes basic TIP#272 implementation.
* Implemented [lreverse] from TIP#272dkf2006-11-091-1/+14
|
* TIP#274 IMPLEMENTATIONdgp2006-11-051-1/+4
| | | | | * generic/tclParseExpr.c: Exponentiation operator is now * tests/expr.test: right associative. [Patch 1556802]
* * generic/tclBasic.c (TEOVI):Miguel Sofer2006-11-031-2/+20
| | | | | | * tests/trace.test (trace-21.11): fix for [Bug 1590232], execution traces may cause a second command resolution in the wrong namespace.
* Rename constraint to look more conventionaldkf2006-11-031-15/+11
|
* Keep most tests from making sockets that are reachable off the machine.dkf2006-11-036-97/+89
|
* Minor syntactic changesdkf2006-11-031-7/+6
|