Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b6510c1753c84315234ddf9bc2500e27fce5bc3e86d49df984a2d12343dca6e9
Ticket: 5137b4387019d0e118d958fb2b51139219ba9978
clock.test failures with -singleproc 1 on Windows
User & Date: sebres on 2025-08-04 18:57:58
Changes

  1. closedate changed to: "2460892.2902586"
  2. closer changed to: "sebres"
  3. icomment:
    > This will change output reporting by tcltest when run in non-en locales, right?
    
    Well, it is not well correct, how [1b7d5ee5b46a96e8] says - it would now always output an ISO timestamp (which is obviously never locale dependent, since has only numeric values), but...
    
    This change basically serves multiple purposes and it'd:
    
      *  make the output of test case locale independent;
      *  avoid dependency to registry on windows (windows may need registry package to get system locale);
      *  help to avoid side effects, like a bit "unexpected" state of interpreter, but also different outputs on different test operation (installed/uninstalled, started from make or manually etc, but sometimes also the start and end timestamp (where end occurred after the registry is loaded);
      *  stop to load another locale (which is not needed now).
    
    In particular, for German user the difference in timestamp may look:
    <pre style="margin-left:10pt">
    # either like this (e. g. on uninstalled Tcl the locale may remain "en"):
    - Mon Aug 04 20:49:33 +0200 2025
    + 2025-08-04 20:49:42 +0200
    # or like this (e. g. on installed Tcl, the locale may be obtained from system):
    - Mo Aug 04 20:52:40 +0200 2025
    + 2025-08-04 20:49:42 +0200
    </pre>
    
    If you mean ISO timestamp is not good for the output of start/end time in the test-suite, we can revert [1b7d5ee5b46a96e8] - with the possible consequences I mentioned above.
    But they would happen only on certain circumstances.
    
  4. login: "sebres"
  5. mimetype: "text/x-fossil-wiki"