Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: e4743546a4554a99fa58ddb54642fd3ae374de513bb450e3b7b075185141efa3
Ticket: 5137b4387019d0e118d958fb2b51139219ba9978
clock.test failures with -singleproc 1 on Windows
User & Date: apnadkarni on 2025-08-01 05:34:48
Changes

  1. icomment:
    The `puts` outputs:
    
    With -singleproc 0 (passing):
    ```
    1 {"Thu Jan 01 05:30:00 IST 1970" eq "Thu Jan 01 05:30:00 IST 1970" && "Thu Jan 01 05:30:00 IST 1970" ne "Thu Jan 01 04:20:00 +04:20 1970"}
    ```
    
    With -singleproc 1 (fail):
    ```
    0 {"Thu Jan 01 01:00:00 +0530 1970" eq "Thu Jan 01 05:30:00 +0530 1970" && "Thu Jan 01 01:00:00 +0530 1970" ne "Thu Jan 01 04:20:00 +04:20 1970"}
    ```
    
    You were on the right track when you mentioned registry. Bisect shows:
    
    ```
      9 BAD     2024-11-06 20:33:01 b11c0b7e61e1f3c9 CURRENT
      5 GOOD    2024-11-04 20:39:42 1310d7228e6ffaeb
    ```
    
    Note the GOOD commit does not show any of the other failures I reported in the ticket either.
    
    The failing [commit](https://core.tcl-lang.org/tcl/info/b11c0b7e61e1f3c9) removes the registry dlls from the build, presumably to keep them out of the zipfs.
    
    A build without embedding zipfs (`nmake OPTS="noembed"`) shows no failures.
    
    So it has something to do with absence of the registry dll. I'm still puzzled as to 
    
    - why -singleproc 0 does not show the failure
    - why the failure does not show up on your system (may be my timezone makes a difference?
    - whether the absence of registry matters to clock.test since it seems to emulate the registry command with a dummy registry to prevent modification of the real registry
    
  2. login: "apnadkarni"
  3. mimetype: "text/x-markdown"