summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tclCmdIL.c (InfoVarsCmd): Corrected segfault in newdgp2004-11-241-1/+9
| | | | * tests/info.test (info-19.6): trivial matching branch [Bug 1072654]
* * generic/tclInterp.c: Restored several directories to the searchdgp2004-11-221-10/+7
| | | | | | | | * tests/unixInit.test: path used to locate init.tcl within [tclInit]. This change does not restore any directories to the encoding search path, so should still avoid the price of an unreasonably large number of filesystem accesses during encoding initialization at startup [Bug 976438]
* fix to windows file join bugvincentdarley2004-11-221-0/+7
|
* * tests/unixInit.test: Removed "knownBug" constraints to promptdgp2004-11-191-9/+9
| | | | bug fixing before 8.5a2 release.
* * tests/interp.test (interp-36.*): [interp bgerror] tests.dgp2004-11-181-1/+36
| | | | * generic/tclInterp.c: Corrected [interp bgerror] error messages.
* * tests/basic.test: Updated functional (not testing) uses ofdgp2004-11-184-48/+98
| | | | | | | | * tests/io.test: [bgerror] to make use of [interp bgerror]. * tests/socket.test: * tests/timer.test: * generic/tclInterp.c: Corrected [interp bgerror] error message.
* * generic/tclInt.h: Added comment warning that the olddgp2004-11-151-2/+10
| | | | | | | | | | ERR_IN_PROGRESS and ERROR_CODE_SET flag values should not be re-used for the sake of those extensions that have accessed them. * generic/tclCmdMZ.c (Tcl_TraceObjCmd): Fixed Bug 1065378 which failed * tests/trace.test (trace-33.1): to permit a variable trace created with [trace variable] to be destroyed with [trace remove]. Thanks to Keith Vetter for the report.
* TIP #221 IMPLEMENTATIONdgp2004-11-131-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBasic.c: Define [::tcl::Bgerror] in new interps. * generic/tclEvent.c: Update Tcl_BackgroundError to make use of the registered [interp bgerror] command. * generic/tclInterp.c: New [interp bgerror] subcommand. * tests/interp.test: syntax tests updated. TIP #226 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Save|Restore|Discard)InterpState * generic/tcl.h: New public opaque type, Tcl_InterpState. * generic/tclInt.h: Drop old private declarations. Add Tcl(Get|Set)BgErrorHandler * generic/tclResult.c: Tcl_*InterpState implementations. * generic/tclDictObj.c: Update callers. * generic/tclIOGT.c: * generic/tclTrace.c: TIP #227 IMPLEMENTATION * generic/tcl.decls: Stubs for Tcl_(Get|Set)ReturnOptions. * generic/tclInt.h: Drop old private declarations. * generic/tclResult.c: Tcl_*ReturnOptions implementations. * generic/tclCmdAH.c: Update callers. * generic/tclMain.c:
* * tests/fileName.test:das2004-11-116-13/+15
| | | | | | | | | * tests/fileSystem.test: * tests/io.test: * tests/msgcat.test: * tests/tcltest.test: * tests/unixInit.test: fixed bugs causing failures when running tests with -tmpdir arg not set to working dir.
* * tests/fCmd.test:das2004-11-111-1/+11
| | | | | | | | | * unix/tclUnixFCmd.c (TraverseUnixTree): added option to rewind() the readdir() loop whenever the source hierarchy has been modified by traverseProc (e.g. by deleting files); this is required to ensure complete traversal of the source hierarchy on certain filesystems like HFS+. Added test for failing recursive delete on Mac OS X that was due to this. [Bug 1034337]
* * tests/winFile.test: Attempted and untested fix for 1062491davygrvy2004-11-081-7/+7
|
* * tests/winFile.test: added contraint to winFile-4.0 to prevent it being run ↵davygrvy2004-11-071-2/+8
| | | | on NT4
* Major simplification of reg.test to de-Spencer it somewhat.dkf2004-11-051-744/+672
| | | | It's still cryptic, but perhaps not quite so bad now. :^)
* Add [file normalize] so expected paths come out right on Windows. [Bug 1053568]dkf2004-11-051-1/+3
|
* niggly test suite fixesdgp2004-11-041-2/+2
|
* remove knownBugs from clock tests by fixing themKevin B Kenny2004-11-031-9/+15
|
* niggly test suite fixesdgp2004-11-031-2/+2
|
* test cleanup correctiondgp2004-11-031-3/+6
|
* * generic/tclTrace.c (TclCallVarTraces): Improved ability to debugdgp2004-11-034-16/+36
| | | | | | | * tests/incr-old.test (incr-old-2.6): errors during variable * tests/incr.test (incr-{1,2}.28): traces by preserving the * tests/set.test (set-{2,4}.4): -errorinfo data. * tests/trace.test (trace-33.1): [Bug 527164]
* 2004-11-02 Don Porter <dgp@users.sourceforge.net>dgp2004-11-021-1/+42
| | | | | | | | * library/tcltest/tcltest.tcl: Corrected some misleading * tests/tcltest.test (tcltest-26.1,2): displays of ::errorInfo and ::errorCode information when the -setup, -body, and/or -cleanup scripts return an unexpected return code. Thanks to Robert Seeger for the fix. [RFE 1017151].
* Second part of fix for Bug 926106Kevin B Kenny2004-11-011-1/+13
|
* Fix for [Bug 761471]; NaN is now *never* equal to NaN...dkf2004-11-011-1/+6
|
* command quoting fixdgp2004-10-311-2/+2
|
* typo fixdgp2004-10-311-2/+2
|
* General cleanupdkf2004-10-311-139/+21
|
* Fix pseudo-constraintdkf2004-10-312-4/+4
|
* Minor fixes for marginally more claritydkf2004-10-311-10/+10
|
* Turn umask2 constraint into something more commonly satisfiabledkf2004-10-311-85/+39
| | | | Also turn conditional tests into constrained tests
* Added constraint to test that won't ever work on Unix (no drive letters!)dkf2004-10-311-2/+2
|
* General clean updkf2004-10-311-190/+63
|
* Remove broken test constraint. [bug 1053908]dkf2004-10-311-3/+2
|
* Make [info globals ::foo] work. [Bug 1057461]dkf2004-10-311-1/+5
|
* * library/tcltest/tcltest.tcl: Correct reaction to errors in thedgp2004-10-301-8/+6
| | | | | | | obsolete processCmdLineArgsHook. [Bug 1055673] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.7 * unix/Makefile.in: * tests/all.tcl: Update to use [tcltest::configure].
* Allow ensembles to rewrite their subcommands' error messages to be moredkf2004-10-295-14/+45
| | | | | | relevant to users. [Patch 1056864] Also patches to core to take advantage of this Also other general cleaning up of Tcl_WrongNumArgs usage
* fix for execution stack corruption [Bug 1055676]. Credit dgp for detectiveMiguel Sofer2004-10-281-1/+23
| | | | work and fix.
* D'oh!dgp2004-10-281-2/+2
|
* * tests/socket.test (socket-13.1): Balanced [makeFile] anddgp2004-10-281-25/+25
| | | | [removeFile] commands.
* * tests/clock.test: Correct duplicate test names.dgp2004-10-284-12/+12
| | | | | | * tests/namespace.test: * tests/string.test: * tests/io.test (io-50.4): Use namespace variables.
* * tests/registry.test: Fixed test files to load the correctdavygrvy2004-10-272-147/+145
| | | | | | | | | * tests/winDde.test: registry and dde packages by using the info * win/Makefile.in: from makefiles to tell tcltest where to load * win/makefile.vc: them from. This avoids grabbing the wrong package from $auto_path which might be the install point rather than the dev location. Kudos to Jennifer Hom for adding -load and -loadfile to the tcltest package. [Bug 926088]
* fixed format-19.1 for 64 bit machinesKevin B Kenny2004-10-271-3/+3
|
* * tests/tm.test: Expanded on the testsuite entered by Donal.andreas_kupries2004-10-271-5/+195
| | | | * library/tm.tcl: Even found bugs, these have been corrected.
* additional regression test for Bug 868489Kevin B Kenny2004-10-271-1/+9
|
* * generic/tclParse.c (Tcl_SubstObj): Fix for failed subst-12.3 test.dgp2004-10-261-1/+9
| | | | * tests/subst.test (subst-12.3-5): More tests for Bug 1036649.
* Reversed expected result from test subst-12.3.dgp2004-10-261-2/+2
|
* * tests/subst.test (subst-12.3,4): More tests for Bug 1036649.dgp2004-10-261-1/+17
|
* * tests/basic.test: Added missing constraints.dgp2004-10-264-17/+16
| | | | | | | * tests/compile.test: * tests/fileSystem.test: * tests/init.test (init-2.8): Updated to not rely on http package.
* fixes for Bug 1054101Kevin B Kenny2004-10-261-1/+43
|
* Remove some of the contortions from cmdAH-8.45dkf2004-10-251-8/+10
|
* * generic/tclExecute.c (IllegalExprOperandType,TclExecuteByteCode):dgp2004-10-251-2/+2
| | | | | | | | | | | | | Removed several DECACHE_INFO/CACHE_INFO pairs that are no longer needed for protection because routines like Tcl_SetErrorCode() and Tcl_AddErrorInfo() can no longer re-enter bytecode execution. * generic/tclResult.c (TclProcessReturn): Bug fix. Be sure that a missing -errorinfo option when code == TCL_ERROR causes the errorInfo field to get reset. * tests/thread.test (thread-4.4): Test depended on a ::errorInfo value initialized to "". Added code to test to setup that requirement.
* Flesh out tests and transform the TM manager API into an ensembledkf2004-10-251-8/+23
|