Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2026-05-21
11:07 • Closed ticket [69afa85386]: append-3.10 fails in -singleproc 1 test run plus... artifact: a60456bf50 user: apnadkarni
2024-05-24
19:34 • Ticket [ee4d701bb3] append.test strangely fails with -singleproc 1 (but not with... artifact: db4fb97bda user: jan.nijtmans
2023-09-18
16:05 • Ticket [69afa85386] append-3.10 fails in -singleproc 1 test run status still... artifact: 6bbc080e6e user: jan.nijtmans
14:12 • Ticket [69afa85386]: 3 changes artifact: fc8bd8f292 user: dgp
2023-07-17
13:42 • Ticket [69afa85386]: 3 changes artifact: b5ba0b3bef user: dgp
2023-03-31
13:48 • Ticket [69afa85386]: 3 changes artifact: eed400462f user: dgp
2022-10-27
18:01 • Ticket [69afa85386]: 3 changes artifact: 7b4cf258d9 user: jan.nijtmans
17:37 • Ticket [69afa85386]: 4 changes artifact: 202529bd54 user: dgp
17:23 • New ticket [69afa85386]. artifact: b4baaab3e3 user: dgp

append-3.10 fails in -singleproc 1 test run

Closed / Out of Date69afa8538699ee84b3c55cbeed0907c4b4e7556bCreated 4 years agoUpdated 196 days ago
Descriptionplain2022-10-27 17:23:01
$ make test-tcl TESTFLAGS='-singleproc 1 -file append.test -match "append-3.5 append-3.10"'
...


append.test


==== append-3.10 append surrogates FAILED
==== Contents of test case:

    set x \uD83D
    string range $x 0 end
    append x \uDE02

---- Result was:
😂
---- Result should have been (exact matching):
😂
==== append-3.10 FAILED


Remove the -singleproc 1 option and tests complete without error.

The tests append-3.5 and append-3.10 are interfering somehow in the
-singleproc 1 testing mode.  The test pair append-3.6 and append-3.10
fail in the same way.

My guess is that something is amiss with shared literals?
Referenced by1
  • db4fb97bdaTicket [ee4d701bb3] append.test strangely fails with -singleproc 1 (but not with 0), if it compare utf32string representations (on "constructed" smiley) status still Open with 3 other changes ticket2024-05-24 19:34:30
dgpplain2022-10-27 17:37:03
Bisecting points the finger at the implementation of TIP 622 on May 15.

https://core.tcl-lang.org/tcl/info/e00aaebbbf06adc0
jan.nijtmansplain2022-10-27 18:01:08
I thing I understand what's going oon here. Stay tuned...
dgpplain2023-03-31 13:48:03
FYI, this remains a problem in -singleproc test runs with core-8-branch.
dgpplain2023-07-17 13:42:03
FWIW, this test continues to fail.
dgpplain2023-09-18 14:12:32
I suspected TIP 665 might resolve this, but the failure continues.
jan.nijtmanswiki2023-09-18 16:05:30

Yeah, I know. I'll try to find some time ....

apnadkarniplain2026-05-21 11:07:58
Closing because it seems specific to defunct 8.7 and not present in 9.0. Could not reproduce. (No surprise, 8.7 had far more encoding tickets compared to 9.0)

Reopen if you disagree.
Log in (anonymous is fine) to add a comment.