Artifacts Associated With Ticket 55e467df3275015a
Ticket change [036ef4646b] (rid 193799) by fvogel on 2021-04-18 12:44:24:
- assignee initialized to: "nobody"
- closer initialized to: "nobody"
- cmimetype initialized to: "text/x-fossil-wiki"
- comment initialized 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 initialized to: "trunk"
- is_private initialized to: "0"
- login: "fvogel"
- priority initialized to: "5 Medium"
- private_contact initialized to: "a013af67114eccc19ad12b04f14923acea9e96b7"
- resolution initialized to: "None"
- severity initialized to: "Minor"
- status initialized to: "Open"
- submitter initialized to: "fvogel"
- subsystem initialized to: "None"
- title initialized to: "New Tk test suite errors with Tcl9"
- type initialized to: "Bug"
Ticket change [97603b1fcc] (rid 193851) by fvogel on 2021-04-21 18:52:08:
- assignee changed to: "fvogel"
- closedate changed to: "2459326.28620674"
- closer changed to: "fvogel"
- icomment:
This issue is revealed when the Tk revised_text branch is compiled against Tcl 9, but it is an issue in Tk. See [https://core.tcl-lang.org/tk/tktview/977c61ea081c9b4e80ad014adf873ce13b9778d9].
- login: "fvogel"
- mimetype: "text/x-fossil-wiki"
- resolution changed to: "Rejected"
- status changed to: "Closed"