|
2021-04-21
| ||
| 18:52 | • Closed ticket [55e467df32]: New Tk test suite errors with Tcl9 plus 7 other ... artifact: 97603b1fcc user: fvogel | |
|
2021-04-18
| ||
| 12:44 | • New ticket [55e467df32]. artifact: 036ef4646b user: fvogel | |
New Tk test suite errors with Tcl9
Closed / Rejected55e467df3275015a0a8608242aa446e8441e85f0Created 6 years agoUpdated 6 years ago
Descriptionwiki2021-04-18 12:44:24
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:
==== 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
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 GitHub Actions.
fvogelwiki2021-04-21 18:52:08
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.
Log in (anonymous is fine) to add a comment.