Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Spurious tcltest messages when constraints with hyphen placed on separate line

Closed / Fixed0aaeb9c3801d9639f89afee0935240355062273dCreated 3 years agoUpdated 3 years ago
Descriptionmarkdown2023-09-22 13:44:26

This only happens when the constraints are on a separate line and one of the constraints has a hyphen. Example:

test encoding-16.2 {UnicodeToUtfProc} -constraints {
    full-utf
} -body {
    set val [encoding convertfrom unicode "\xD8\xD8\xDC\xDC"]
    list $val [format %x [scan $val %c]]
} -result "\U460DC 460dc"

results in tcltest output

Tests began at Fri Sep 22 19:09:49 +0530 2023
encoding.test
        1
    full-utf


Tests ended at Fri Sep 22 19:09:50 +0530 2023
all.tcl:        Total   101     Passed  98      Skipped 3       Failed  0
Sourced 1 Test Files.
Number of tests skipped for each constraint:
        1       fullutf
        1       testgetdefenc

Note the lines

        1
    full-utf
Referenced by5
apnadkarniplain2023-09-22 14:02:16
Fixed in [98f03d1dc3].
Log in (anonymous is fine) to add a comment.