Overview
| Artifact ID: | 036ef4646bcc51f768b6c9c00177a45187105f83374ee635af2beed1c1fbb140 |
|---|---|
| Ticket: | 55e467df3275015a0a8608242aa446e8441e85f0
New Tk test suite errors with Tcl9 |
| User & Date: | fvogel on 2021-04-18 12:44:24 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-fossil-wiki"
- comment changed to:
With Tcl 9 ('main' branch), but not with Tcl 8.7, the test suite for branch 'revised_text' in Tk outputs three errors that do not happen in other environments: <verbatim> ==== text-22.126 TextSearchCmd, wrapping and limits FAILED ==== Contents of test case: pack [text .t] .t insert end "if (stringPtr->uallocated > 0) \{x" .t search -backwards -regexp -- "\[\]\")\}\[(\{\]" "1.32" 1.0 ---- Result was: 1.3 ---- Result should have been (exact matching): 1.31 ==== text-22.126 FAILED ==== text-22.128 TextSearchCmd, wrapping and limits FAILED ==== Contents of test case: pack [text .t] .t insert end "if (stringPtr->uallocated > 0) \{x" .t search -backwards -all -regexp -- "\[\]\")\}\[(\{\]" "1.32" 1.0 ---- Result was: 1.3 ---- Result should have been (exact matching): 1.31 1.29 1.3 ==== text-22.128 FAILED ==== text-22.129 TextSearchCmd, wrapping and limits FAILED ==== Contents of test case: pack [text .t] .t insert end "if (stringPtr->uallocated > 0) \{x" .t search -all -regexp -- "\[\]\")\}\[(\{\]" 1.0 "1.0 lineend" ---- Result was: 1.3 ---- Result should have been (exact matching): 1.3 1.29 1.31 ==== text-22.129 FAILED </verbatim> This does not happen when Tk 'revised_text' branch is linked to Tcl 8.7 ('core-8-branch' branch). I can see this on Window 10 and this is also demonstrated on Linux on [https://github.com/tcltk/tk/runs/2373021268?check_suite_focus=true|GitHub Actions]. - foundin changed to: "trunk"
- is_private changed to: "0"
- login: "fvogel"
- priority changed to: "5 Medium"
- private_contact changed to: "a013af67114eccc19ad12b04f14923acea9e96b7"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "fvogel"
- subsystem changed to: "None"
- title changed to: "New Tk test suite errors with Tcl9"
- type changed to: "Bug"