Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2e80b97eb6b314e3560562ec617dc8f6ee455d975c88797fddafa4a73c50e1b3
Ticket: 5137b4387019d0e118d958fb2b51139219ba9978
clock.test failures with -singleproc 1 on Windows
User & Date: dgp on 2025-08-04 18:00:03
Changes

  1. closedate changed to: "2460892.25003921"
  2. closer changed to: "dgp"
  3. icomment:
    
    The changes made to address this ticket included a change to
    the tcltest package.  When the tcltest package changes, it needs
    a version number bump, and to be kept in sync on all branches.
    I made a start at this, but then I see another concern...
    
    The change to tcltest gives me doubts.
    
    -    set timeCmd {clock format [clock seconds]}
    +    set timeCmd {clock format now -format "%Y-%m-%d %H:%M:%S %Z" -locale en}
    
    This is forcing the "timeCmd" used by the tcltest package to
    construct timestamps to always use the "en" locale.
    
    This seems like a very consequential thing to force on every
    user of the tcltest package in (presumably) a patch release.
    This will change output reporting by tcltest when run in non-en
    locales, right?  Many tcltest users who process tcltest output
    are likely to see their expectations overturned, right?
    
    Can't the testing of the clock command use other mechanisms to
    induce tcltest to act (as if it is) in the en locale?
    
    What am I missing?
    
  4. login: "dgp"
  5. mimetype: "text/plain"