summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* * tests/tcltest.test:jenn1999-07-281-3/+4
| | | | | | | | * library/tcltest1.0/tcltest.tcl: Fixed the condition under which ::tcltest::PrintError had an infinite loop problem and added a test case for it. Added an optional argument to ::tcltest::getMatchingFiles telling it where to search for test files.
* Bug fixes for threaded Tcl on NT with single and dual CPUs. Still someredman1999-07-273-5/+9
| | | | open issues, this code is a little more stable though.
* Tests for the tcltest packagejenn1999-07-261-0/+296
|
* Removed patch for bug 2382, for info complete.redman1999-07-231-4/+4
|
* Fix hange with socket code (win32) with threads enabled, fixedredman1999-07-221-1/+5
| | | | | the semaphores for threads disabled. Fixed calling of tcltest in Makefile.in (win32) and fixed safe-6.3 for threads enabled.
* * Changed version to 8.2b2.redman1999-07-221-2/+7
| | | | | | | | | | | | | | | | | | * win/tclWinPort.h: Block out include of sys/*.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * generic/tclCmdMZ.c: * generic/tclIO.c: Fix ANSI-style prototypes based on patch from Ulrich Ring. [Bug: 2391] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * tests/var.test: * generic/tclVar.c: Fixed bug that caused a seg. fault when using "array set a(b) {}", which is a bad array name anyway. Now the "array set" command will return an error in this case. Added test case and fixed existing test. [Bug: 2427]
* Applied patch for info complete. [Bug: 2382]redman1999-07-221-1/+7
|
* * doc/open.n: Added documentation of \\.\comX notation for openingredman1999-07-221-2/+2
| | | | | | | | | | | serial ports on Windows (alternative to comX:). * tests/ioCmd.test: * doc/open.n: * win/tclWinSerial.c: Applied patch from Rolf Schroedter to add -pollinterval option to fconfigure to modify the maxblocktime used in the fileevent polling. Added documentation and fixed the test case as well.
* changed http package version from 2.0 to 2.1hershey1999-07-201-2/+2
|
* * tests/string.test:stanton1999-07-091-1/+4
| | | | | * generic/tclCmdMZ.c: Fixed bug in string range bounds checking code.
* * win/Makefile.in: Added tcltest target so runtest worksstanton1999-07-081-1/+3
| | | | | | | | properly. Added missing names to the clean/distclean targets. * tests/reg.test: * generic/rege_dfa.c: Applied fix supplied by Henry Spencer for bug in DFA state caching under lookahead conditions. [Bug: 2318]
* Fixed bogus test for env.testrjohnson1999-07-081-9/+4
|
* Do additional checks to unset any environment variables set, changed orjenn1999-07-082-28/+12
| | | | created by the tests.
* Improved test to handle empty env array - (will raise error)rjohnson1999-07-081-1/+4
|
* Fixed a couple of bad registry tests...rjohnson1999-07-081-4/+4
|
* Fixed bug in test suite - remember to update tests whenrjohnson1999-07-081-0/+1
| | | | changing features!!!
* Made test encoding test understand platform differences.rjohnson1999-07-071-3/+7
|
* Marked two timing-dependent tests "nonPortable",welch1999-07-071-3/+3
| | | | but I really need to fix these (4.11 and 4.12)
* Removed extra '\' characters at the beginning of the parseOld.testjenn1999-07-061-2/+2
| | | | | file that were causing "invalid command" messages whenever the test was run.
* Improved support for empty array nameswelch1999-07-022-8/+7
|
* Fixed package version numberwelch1999-07-021-4/+4
|
* Changed the tests to use the testConstraints array that thejenn1999-07-0125-78/+78
| | | | test harness uses instead of the old name (testConfig).
* Added a check to not rename incr unless it's been previouslyjenn1999-06-301-4/+5
| | | | renamed.
* Added a check at the end of the test to not unset variables ifjenn1999-06-302-4/+8
| | | | they don't exist.
* Added flags -limitconstraints, -preservecore, -help, -file, -notfile, ↵jenn1999-06-292-46/+18
| | | | | | | | | | -relateddir, and -asidefromdir to tcltest.tcl. Also added exported proc ::tcltest::getMatchingTestFiles to tcltest.tcl. Modified documentation to match and all.tcl to use the new functionality instead of implementing -file itself. Changed some test names in winPipe.test to remove duplicates.
* Modified the last three tests to run with pcOnly constraint.jenn1999-06-291-4/+4
|
* Applied patch from Peter Hardie (with modifications) to fixredman1999-06-282-2/+22
| | | | | Tcl_GetIndexFromObj when the key is "". Added test cases and doc note.
* Fixed test suite to call $tcltest::tcltest instead of $::tcltestredman1999-06-281-2/+2
| | | | (for the name of the executable).
* Marked on of the string tests non-portable. IRIX thinks thatrjohnson1999-06-261-2/+6
| | | | | .e1 is a valid double - the spec and most other UNIX systems do not think it's valid.
* Fixed another bug in test suite...rjohnson1999-06-261-1/+2
|
* Fixed bug in all.tcl that caused "make test" not to work. The varrjohnson1999-06-261-1/+3
| | | | | | testsDirectory was getting the wrong value. It was set to the workingDir - but when running all.tcl it should be set to the same dir as all.tcl.
* Fixed style problems in many of the test files.rjohnson1999-06-2652-124/+125
| | | | Fixed bug in pkg.test where defs.tcl was still being used.
* Modified the tests to use the package tcltestjenn1999-06-26121-1872/+597
|
* Changed to Tcl 8.2b1welch1999-06-251-3/+3
|
* * tests/reg.test:stanton1999-06-251-1/+5
| | | | * generic/regexec.c: Fixed bugs in non-greedy quantifiers.
* * unix/Makefile.in: Changed install-doc to install-man.stanton1999-06-241-3/+3
| | | | | | | | | | | | | * tools/uniParse.tcl: * tools/uniClass.tcl: * tools/README: * tests/string.test: * generic/regc_locale.c: * generic/tclUniData.c: * generic/tclUtf.c: * doc/string.n: Updated Unicode character tables to reflect latest Unicode 2.1 data. Also rationalized "regexp" and "string is" definitions of character classes.
* Merged with tk defs.tcl filejenn1999-06-191-16/+12
|
* * tests/regexp.test:stanton1999-06-171-14/+37
| | | | | | * generic/tclCmdMZ.c: * generic/tclCmdIL.c: Changed to use new regexp interfaces. Added -expanded, -line, -linestop, and -lineanchor switches to regsub.
* * generic/regcomp.c: lintstanton1999-06-171-1/+4
| | | | | | | | * tests/reg.test: * generic/regex.h: * generic/regc_lex.c: Added REG_BOSONLY flag to allow Expect to iterate through a string an only find matches that start at the current position within the string.
* * tests/execute.test:stanton1999-06-161-85/+151
| | | | | | * generic/tclExecute.c (TclExecuteByteCode): Fixed crash caused by a bug in INST_LOAD_SCALAR1 where the scalar index was read as a signed 1 byte value instead of unsigned. [Bug: 2243]
* beefed up the string object testshershey1999-06-151-70/+92
|
* Improved the appendObj functions (uncomented the optimized code that washershey1999-06-151-96/+81
| | | | | | | | | present in the Unicode obj). Updated the teststringobj command to look in the correct location for the amount of space allocated for the UTF string rep. Note: one stringObj test is still failing; it reflects a change in that may not be undesirable...
* Merged String and Unicode object types. Added new functions tohershey1999-06-152-205/+180
| | | | | | | | | the puplic API: Tcl_NewUnicodeObj, Tcl_SetUnicodeObj, Tcl_GetUnicode, Tcl_GetUniChar, Tcl_GetCharLength, Tcl_GetRange, Tcl_AppendUnicodeToObj. Note: some stringObj tests are still failing--the teststringobj command still needs to be updated.
* * generic/tclUnicodeObj.c: Lots of cleanup and simplification.stanton1999-06-101-1/+4
| | | | | | | | | | | | | | | | | | | | | | | Fixed several memory bugs. Added TclAppendUnicodeToObj. * generic/tclInt.h: Added declarations for various Unicode string functions. * generic/tclRegexp.c: * generic/tclCmdMZ.c: Changed to use new Unicode string interfaces for better performance. * generic/tclRegexp.h: * generic/tclRegexp.c: * generic/tcl.h: * generic/tcl.decls: Added Tcl_RegExpMatchObj and Tcl_RegExpGetInfo calls to access lower level regexp API. These features are needed by Expect. This is a preliminary implementation pending final review and cleanup. * generic/tclCmdMZ.c: * tests/string.test: Fixed bug where string map failed on null strings.
* unset the variable "u" whose initial value could affect test passage.hershey1999-06-091-1/+3
|
* added code to unset the "data" array so tests that follow can use a scalarhershey1999-06-082-6/+10
| | | | data var w/o having to unset it first.
* * tests/string.test:hershey1999-06-082-1/+234
| | | | | | | | | | | | | | | | | | | | | | | * generic/tclVar.c (Tcl_SetVar2Ex): * generic/tclStringObj.c (Tcl_AppendObjToObj): * generic/tclCmdMZ.c (Tcl_StringObjCmd): optimized the string index, string length, string range, and append command in cases where the object's internal rep is a bytearray. Objects with other internal reps are converted to have the new unicode internal rep. * unix/Makefile.in: * win/Makefile.in: * win/Makefile.vc: * tests/unicode.test: * generic/tclInt.h: * generic/tclObj.c: * generic/tclUnicodeObj.c: added a new object type to store the unicode representation of a string. * generic/tclTestObj.c: added the objtype option to the testobj command. This option returns the name of the type of internal rep an object has.
* * generic/tclCmdMZ.c (Tcl_StringObjCmd):stanton1999-06-032-24/+56
| | | | | * tests/string.test: Fixed bug where string equal/compare -nocase reported wrong result on null strings. [Bug: 2138]
* * tests/reg.test:stanton1999-06-021-11/+50
| | | | | | | | | | | | | | | | | | | | | | | | * generic/regc_color.c: * generic/regc_cvec.c: * generic/regc_lex.c: * generic/regc_locale.c: * generic/regc_nfa.c: * generic/regcomp.c: * generic/regcustom.h: * generic/rege_dfa.c: * generic/regerror.c: * generic/regerrs.h: * generic/regex.h: * generic/regexec.c: * generic/regfree.c: * generic/regfronts.c: * generic/regguts.h: * generic/tclCmdMZ.c: * generic/tclRegexp.c: * generic/tclRegexp.h: * generic/tclTest.c: Applied Henry Spencer's latest regexp patches that fix an infinite loop bug and add support for testing whether a string could match with additional input. [Bug: 2117]
* fixed error in test reported by prochecksurles1999-05-281-2/+2
|