Tcl Source Code

View Ticket
Login
Ticket UUID: 0aaeb9c3801d9639f89afee0935240355062273d
Title: Spurious tcltest messages when constraints with hyphen placed on separate line
Type: Bug Created on: 2023-09-22 13:44:26
Submitter: apnadkarni Assigned to: nobody
Subsystem: - New Builtin Commands Severity: Minor
Priority: 5 Medium Last modified: 2023-09-22 14:02:16
Status: Closed Closed by: apnadkarni
Resolution: Fixed Closed on: 2023-09-22 14:02:16
Version: 8.6
Description:

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
User Comments:
apnadkarni added on 2023-09-22 14:02:16:
Fixed in [98f03d1dc3].