summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merged changes from scriptics-tclpro-1-3-b2 branchstanton1999-05-224-106/+214
|
* Added test for command.com /c dir /b hang.redman1999-05-211-2/+6
|
* changed call to "remove" to "removeFile"--this bug was causing "httpd" filehershey1999-05-181-2/+2
| | | | to be left in working dir whenever tests are run.
* added -encoding to the list of legal options used in the error message whenhershey1999-05-181-8/+8
| | | | | a bad option is used. Because the fconfigure command is configurable (so more option can be added), the error string is hardcoded.
* * tests/regexp.test:stanton1999-05-131-1/+27
| | | | | | | | | | | | * generic/tclInt.h: * generic/tclBasic.c: * generic/tclRegexp.h: * generic/tclRegexp.c: Replaced the per-interpreter regexp cache with a per-thread cache. Changed the Regexp object to take advantage of this extra cache. Added a reference count to the TclRegexp type so regexps can be shared by multiple objects. Removed the per-interp regexp cache from the interpreter. Now regexps can be used with no need for an interpreter. [Bug: 1063]
* * tests/string.test:stanton1999-05-061-1/+10
| | | | | | * generic/tclCmdMZ.c: * doc/string.n: Fixed bug in string equal/compare code when using -length option. Cleaned up docs a bit more.
* * doc/string.n:stanton1999-05-069-940/+785
| | | | | | | | | | | | | | | | | | | | * tests/cmdIL.test: * tests/cmdMZ.test: * tests/error.test: * tests/ioCmd.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * tests/cmdIL.test: * generic/tclUtil.c: * generic/tclCmdMZ.c: Replaced "string icompare/iequal" with -nocase and -length switches to "string compare/equal". Added a -nocase option to "string map". Changed index syntax to allow integer or end?-integer? instead of a full expression. This is much simpler with safeTcl scripts since it avoids double substitution issues.
* * tests/http.test: Unset "data" array before running tests tostanton1999-05-061-1/+2
| | | | avoid failures due to previous tests.
* * doc/string.n:stanton1999-05-042-13/+29
| | | | | | | * tests/cmdMZ.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): Changed "string length" to avoid regenerating the string rep of a ByteArray object.
* * tests/cmdIL.test:stanton1999-05-048-93/+295
| | | | | | | | | | | | | * tests/cmdMZ.test: * tests/error.test: * tests/lindex.test: * tests/linsert.test: * tests/lrange.test: * tests/lreplace.test: * tests/string.test: * generic/tclCmdMZ.c (Tcl_StringObjCmd): * generic/tclUtil.c (TclGetIntForIndex): Applied Jeff Hobbs's string patch which includes the following changes [Bug: 1845]:
* * tests/binary.test:stanton1999-05-031-1/+11
| | | | | * generic/tclBinary.c (DupByteArrayInternalRep): Fixed bug where type was not being set in duplicated object.
* * Merged changes from 8.1.0 branchstanton1999-04-302-3/+7
|
* Tcl_UtfToUpper and Tcl_UtfToTitle now works on badly formed Utf strings.hershey1999-04-301-1/+20
|
* Added tests for string toupper and string tolower called with badly formedhershey1999-04-291-1/+7
| | | | Utf strings.
* merged 8.1.0 changes into mainlinestanton1999-04-242-17/+19
|
* Resynced with mainline.rjohnson1999-04-2110-11/+25
|
* added a delay to a event to so it can pass on slower machines.hershey1999-04-202-13/+24
|
* moved the ThreadReap command to ::tcltest::threadReap. Now each thread test ↵hershey1999-04-204-109/+192
| | | | | | | | | calls threadReap at the beginning and end of the test, inside the test body. This fixes the problem where the test suite was exiting on a call to threadReap (reap was killing the main thread by accident because other tests were leaving threads running and setting mainthread to be the list of running threads).
* fixed bugs in tests--bug id 1769hershey1999-04-193-66/+42
|
* changes make Tcl_Access and Tcl_Stat public.hershey1999-04-171-2/+2
| | | | also one minor fix in tests/all.tcl to fix bug 1770.