summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* replace obsolete "winOnly" constraint with preferred "win"dgp2005-04-051-1/+1
|
* * generic/tclBasic.c (Tcl_EvalEx): Restored recursion limitdgp2005-03-182-5/+49
| | | | | | | | * generic/tclParse.c (TclSubstTokens): testing in nested command * tests/basic.test (basic-46.4): substitutions within direct * tests/parse.test (parse-19.*): script evaluation (Tcl_EvalEx) that got lost in the parser reforms of Tcl 8.1. Added tests for correct behavior. [Bug 1115904]
* more tests and a fix to bug 1158199vincentdarley2005-03-151-1/+9
|
* fix to file norm, file pathtype on windows reserved filenamesvincentdarley2005-03-151-1/+50
|
* speed up some testsdgp2005-02-241-7/+7
|
* More robust new test tcltest-9.5dgp2005-02-241-7/+9
|
* * library/tcltest/tcltest.tcl: Better use of [glob -types] to avoiddgp2005-02-241-3/+16
| | | | | | | | | * tests/tcltest.test: failed attempts to [source] a directory, and similar matters. Thanks to "mpettigr". [Bug 1119798] * library/tcltest/pkgIndex.tcl: Bump to tcltest 2.2.8 * unix/Makefile.in: * win/Makefile.in:
* * tests/basic.test (basic-26.3): new testMiguel Sofer2005-02-111-2/+21
|
* * generic/tclBasic.c (Tcl_EvalObjEx):Miguel Sofer2005-02-101-1/+19
| | | | | | * tests/basic.test (basic-26.2): preserve the arguments passed to TEOV in the pure-list branch, in case the list shimmers away. Fix for [Bug 1119369], reported by Peter MacDonald.
* Added test for [1109484]dkf2005-01-281-2/+6
|
* TIP#218 IMPLEMENTATIONandreas_kupries2005-01-271-1/+7
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/CrtChannel.3: Documentation of extended API, * generic/tcl.decls: extended testsuite, and * generic/tcl.h: implementation. Removal of old * generic/tclIO.c: driver-specific TclpCut/Splice * generic/tclInt.h: functions. Replaced with generic * tests/io.test: thread-action calls through the * unix/tclUnixChan.c: new hooks. Update of all builtin * unix/tclUnixPipe.c: channel drivers to version 4. * unix/tclUnixSock.c: Windows drivers extended to * win/tclWinChan.c: manage thread state in a thread * win/tclWinConsole.c: action handler. * win/tclWinPipe.c: * win/tclWinSerial.c: * win/tclWinSock.c:
* Add another test demonstrating what *should* happen, and xref to FRQdkf2005-01-141-2/+17
| | | | that triggered this discussion
* Document deep magic in compiled [expr]dkf2005-01-141-1/+17
|
* * tests/winDde.test: Fixed broken test result.patthoyts2005-01-051-2/+2
|
* * tests/fCmd.test (fCmd-18.10): Added notNetworkFilesystem constraint.dgp2005-01-041-2/+2
| | | | [Bug 456665]
* bugs 1090413, 1092789 fixedKevin B Kenny2004-12-291-1/+25
|
* Upgrade the capabilities of time limits by allowing them to fire in the midstdkf2004-12-161-2/+23
| | | | of the processing of the event loop or during a blocking [after]. [Bug 1085023]
* * tests/unixInit.test (2.1-4): Added constraints so that when adgp2004-12-081-5/+15
| | | | | value of TCL_LIBRARY is required for process initialization, we skip the tests that mess with that value.
* * tests/msgcat.test: makeFile/removeFile cleanup [1079117]dgp2004-12-061-4/+3
|
* * tests/safe.test: Trim auto_path to improve performance [1080039]dgp2004-12-061-1/+5
|
* filesystem, glob, tilde fixvincentdarley2004-12-021-0/+51
|
* Upgrade more of the file to tcltest2, and collect constraint definitions to ↵dkf2004-12-021-51/+53
| | | | the top.
* Oops! <:^)dkf2004-12-011-2/+2
|
* Fix reported problems with tests for dde error messages. Also use more tcltest2dkf2004-12-011-81/+60
| | | | features to reduce [catch] count...
* Patch 976520 reworks several of the details involved withdgp2004-11-302-27/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | startup/initialization of the Tcl library, focused on the activities of Tcl_FindExecutable(). * generic/tclIO.c: Removed bogus claim in comment that encoding "iso8859-1" is "built-in" to Tcl. * generic/tclInt.h: Created a new struct ProcessGlobalValue, * generic/tclUtil.c: routines Tcl(Get|Set)ProcessGlobalValue, and function type TclInitProcessGlobalValueProc. Together, these take care of the housekeeping for "values" (things that can be held in a Tcl_Obj) that are global across a whole process. That is, they are shared among multiple threads, and epoch and mutex protection must govern the validity of cached copies maintained in each thread. * generic/tclNotify.c: Modified TclInitNotifier() to tolerate being called multiple times in the same thread. * generic/tclEvent.c: Dropped the unused argv0 argument to TclInitSubsystems(). Removed machinery to unsure only one TclInitNotifier() call per thread, now that that is safe. Converted Tcl(Get|Set)LibraryPath to use a ProcessGlobalValue, and moved them to tclEncoding.c. * generic/tclBasic.c: Updated caller. * generic/tclInt.h: TclpFindExecutable now returns void. * unix/tclUnixFile.c: * win/tclWinFile.c: * win/tclWinPipe.c: * generic/tclEncoding.c: Built new encoding search initialization on a foundation of ProcessGlobalValues, exposing new routines Tcl(Get|Set)EncodingSearchPath. A cache of a map from encoding name to directory pathname keeps track of where encodings are available for loading. Tcl_FindExecutable greatly simplified into just three function calls. The "library path" is now misnamed, as its only remaining purpose is as a foundation for the default encoding search path. * generic/tclInterp.c: Inlined the initScript that is evaluated by Tcl_Init(). Added verification after initScript evaluation that Tcl can find its installed *.enc files, and that it has initialized [encoding system] in agreement with what the environment expects. [tclInit] no longer driven by the value of $::tcl_libPath; it largely constructs its own search path now, rather than attempt to share one with the encoding system. * unix/tclUnixInit.c: TclpSetInitialEncodings factored so that a new * win/tclWinInit.c: routine TclpGetEncodingNameFromEnvironment can reveal that Tcl thinks the [encoding system] should be, even when an incomplete encoding search path, or a missing *.enc file won't allow that initialization to succeed. TclpInitLibraryPath reworked as an initializer of a ProcessGlobalValue. * unix/tclUnixTest.c: Update implementations of [testfindexecutable], [testgetdefenc], and [testsetdefenc]. * tests/unixInit.test: Corrected tests to operate properly even when a value of TCL_LIBRARY is required to find encodings. * generic/tclInt.decls: New internal stubs: TclGetEncodingSearchPath, TclSetEncodingSearchPath, TclpGetEncodingNameFromEnvironment. These are candidates for public exposure by future TIPs. * generic/tclIntDecls.h: make genstubs * generic/tclStubInit.c: * generic/tclTest.c: Updated [testencoding] to use * tests/encoding.test: Tcl(Get|Set)EncodingSearchPath. Updated tests.
* * library/clock.tcl: Corrected the regular expressions that matchKevin B Kenny2004-11-301-2/+6
| | | | | a time zone to allow for time zones specified as +HH or -HH. * tests/clock.test: Added regression test case for the above issue.
* Fix [Bug 1066837] without reopening other bugs... What a horrid hack! :^/dkf2004-11-251-1/+6
|
* * tests/tcltest.test: The order in which [glob] returns the filermax2004-11-251-3/+3
| | | | names is undefined, so tests should not depend on it.
* * 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
|