summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Handle github actions test failures. Backported from 8.6jan.nijtmans2020-11-194-17/+21
|
* Enhance misleading test-case utf-6.23 with better diagnostics: Byte 0xE8 is ↵jan.nijtmans2020-11-181-6/+6
| | | | the start of a 3-byte UTF-8 sequence, so Tcl_UtfNext is expected to read next byte and see if it is a continuation byte
* Add github actions build. Use Titlecase in Tcl_StaticPackagejan.nijtmans2020-11-182-10/+10
|
* 3 new testcasesjan.nijtmans2020-10-291-0/+12
|
* (cherry-pick): Fix [014ade1d44]: Misleading error message when using "-path" ↵jan.nijtmans2020-10-091-38/+34
| | | | | multiple times with "glob". Also fix a few (harmless) -Wundef warnings
* tests/regexp.test: more tests for -indices by multi-byte utf-8 (considering ↵sebres2020-08-281-1/+8
| | | | -start position now)
* tests/regexp.test: added missing test that cover indices if running on ↵sebres2020-08-281-0/+4
| | | | string containing multi-byte utf-8 chars (de/ru, byte offsets != char offsets)
* Suppress tests that fail starting with OSX Mojave.dgp2020-08-211-2/+4
|
* Backport changes in tcltest package from higher Tcl versions.jan.nijtmans2020-07-202-7/+7
| | | | Rename (internal, undocumented) tcltest::loadIntoSlaveInterpreter into tcltest::loadIntoChildInterpreter tcltest 2.5.1 -> 2.5.3
* Testcase cleanup: Sync with testcases in core-8-6-branchjan.nijtmans2020-05-131-75/+54
|
* clock.test: more tests for negative month offsets over threshold of a year ↵sebres2020-05-131-0/+18
| | | | (important for C-implementation like clock-speedup branch, see https://github.com/sebres/tclclockmod/issues/20#issuecomment-627704993)
* Unsplit some test-cases and renumber, for testcase which give the same ↵jan.nijtmans2020-05-121-100/+46
| | | | results for different TCL_UTF_MAX values.
* More test-case cleanup. Enhance "testutfnext", so it can detect whether ↵jan.nijtmans2020-05-081-87/+105
| | | | bytes after the string-end are read. The command will return -1 in that case. No need for additional arguments any more.
* close forkdgp2020-05-071-16/+16
|\
| * Simplify test-cases which don't need the "testbytestring" command to run ↵jan.nijtmans2020-05-071-16/+16
| | | | | | | | without it. e.g. [testbytestring \xC2\xA2] is the same as just \xA2.
* | Same trouble with Tcl_UtfToUniCharDstring. Test and fix.dgp2020-05-071-1/+10
|/
* Test demonstrating bug in ticket [b2816a3afe].dgp2020-05-071-0/+3
|
* Backport testutfprev/testutfnex testcase improvements from 8.7. This makes ↵jan.nijtmans2020-05-061-510/+504
| | | | testdescriptions/testresults more equal among branches, so the real differences are more visible.
* 3 testcases don't need pairsTo4bytes, fullutf is enough, since the ↵jan.nijtmans2020-05-061-5/+3
| | | | dubble-surrogate-backslash syntac has no relation to the internal byte format.
* Properly protect "Invalid" function against lead bytes 0x80-0xBF. This fixes ↵jan.nijtmans2020-05-051-25/+34
| | | | | "knownBug" testcase utf-6.93.1. Rename tip389 selector to utf16, since that's what it actually is, in contrast to ucs2 and ucs4.
* Test-case cleanup. Increase timeout a little bit in main.test, making Travis ↵jan.nijtmans2020-05-0412-78/+87
| | | | build errors because of this less likely.
* D'oh!dgp2020-04-301-1/+1
|
* Test for [4c591fa487].dgp2020-04-301-0/+9
|
* Revise constraints to where expectations are met.dgp2020-04-301-3/+5
|
* Split a test so other builds are covered.dgp2020-04-301-1/+4
|
* New encoding-15.16 test-case. Fix title of utf 2 test-cases.jan.nijtmans2020-04-302-2/+7
|
* Renumber test-casesjan.nijtmans2020-04-301-18/+6
|
* Remove unnecessary quoting in test-cases. Add some more tests for ↵jan.nijtmans2020-04-301-45/+57
| | | | toupper/tolower/totitle
* New test for Tcl_UniCharNcmp.dgp2020-04-291-2/+3
|
* Correct the tests for variants with no UCS-4 support.dgp2020-04-281-6/+6
|
* Test the other notation too (as was already done in 8.7+)dgp2020-04-281-0/+54
|
* Split tests utf-8.5.dgp2020-04-281-1/+7
| | | | | | This is a strange one. All 3 variants do the same thing. However, builds of Tcl 8.6 with TUM=4 and TUM=6 both do something different. Those builds also reject all three constraints. They are something else and are uncovered so far.
* Expand coverage of indexing across all variants.dgp2020-04-281-5/+34
|
* repair numbering botch.dgp2020-04-281-2/+2
|
* More constrained splits to cover variants.dgp2020-04-281-3/+15
|
* If we insist on tidy grouping and numbering, lets get it right.dgp2020-04-281-25/+25
|
* Restore constraint compat with later branches in utf-2.8* tests.dgp2020-04-281-2/+2
|
* Backport parsing of surrogate-pair change from 8.6 (only for TCL_UTF_MAX=4)jan.nijtmans2020-04-281-81/+111
| | | Adapt test-cases accordingly. Renumber and split testcases, making the numbering more equal to the numbering in 8.6/8.7/9.0
* Improve the reporting of a failing test. Start testing extended chars.dgp2020-04-271-2/+14
|
* Parameterize tests of Tcl_UniCharNcasecmpdgp2020-04-271-55/+17
|
* casedgp2020-04-271-1/+1
|
* casedgp2020-04-271-2/+2
|
* constraint fixesdgp2020-04-271-9/+9
|
* test reconciliationdgp2020-04-271-5/+33
|
* Pull back another test from 8.7.dgp2020-04-271-1/+3
|
* bring back new testsdgp2020-04-271-0/+22
|
* More test reconciliation.dgp2020-04-261-1/+11
|
* test reconciliationdgp2020-04-261-1/+4
|
* Refine the constraint. The fact that Tcl stores extended charactersdgp2020-04-261-2/+4
| | | | internally does not imply that [string length] counts UCS4 characters instead of UTF-16 code units.
* Continuing test reconciliation.dgp2020-04-261-0/+7
|