Overview
| Artifact ID: | c44b000651d5f26af199b9d996ee50700b54edcc8b100741302cd7c7e9042666 |
|---|---|
| Ticket: | 5137b4387019d0e118d958fb2b51139219ba9978
clock.test failures with -singleproc 1 on Windows |
| User & Date: | apnadkarni on 2025-07-31 06:40:17 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/x-markdown"
- comment changed to:
Failures disappear with -Od or -singleproc 0. Unix does not exhibit failures but MinGW build also show failures. Note only clock.test is run so not a result of other test files. ``` nmake /f makefile.vc TESTFLAGS="-f clock.test -singleproc 1" test Running tests that match: * Skipping test files that match: l.*.test Only running test files that match: clock.test Tests began at Thu Jul 31 12:04:51 +0530 2025 clock.test Validity default mode: on ==== clock-31.1.vm:1 system locale FAILED ==== Contents of test case: clock format 0 -timezone :UTC -locale system -format %x ---- Result was: 01/01/1970 ---- Result should have been (exact matching): 01-Jan-1970 ==== clock-31.1.vm:1 FAILED ==== clock-31.2.vm:1 system locale FAILED ==== Contents of test case: clock format 0 -timezone :UTC -locale system -format %Ex ---- Result was: 01/01/1970 ---- Result should have been (exact matching): the 01' day of January 1970 ==== clock-31.2.vm:1 FAILED ==== clock-31.3.vm:1 system locale FAILED ==== Contents of test case: clock format 0 -timezone :UTC -locale system -format %X ---- Result was: 00:00:00 ---- Result should have been (exact matching): 12:00:00 AM ==== clock-31.3.vm:1 FAILED ==== clock-31.4.vm:1 system locale FAILED ==== Contents of test case: clock format 0 -locale system -format %x ---- Result was: 01/01/1970 ---- Result should have been (exact matching): 31-Dec-1969 ==== clock-31.4.vm:1 FAILED ==== clock-31.5.vm:1 system locale FAILED ==== Contents of test case: clock format 0 -locale system -format %Ex ---- Result was: 01/01/1970 ---- Result should have been (exact matching): the 31' day of December 1969 ==== clock-31.5.vm:1 FAILED ==== clock-31.6.vm:1 system locale FAILED ==== Contents of test case: clock format 0 -locale system -format "%X %Z" ---- Result was: 05:30:00 +0530 ---- Result should have been (exact matching): 7:00:00 PM EST ==== clock-31.6.vm:1 FAILED ==== clock-38.2.vm:1 make sure TZ is not cached after unset FAILED ==== Contents of test case: set t1 [clock format 0] # a time zone that is unlikely to anywhere set env(TZ) "+04:20" set t2 [clock format 0] unset env(TZ) set t3 [clock format 0] expr {$t1 eq $t3 && $t1 ne $t2} ---- Result was: 0 ---- Result should have been (exact matching): 1 ==== clock-38.2.vm:1 FAILED ==== clock-49.2.vm:1 regression test - missing time zone file (Bug 1237907) FAILED ==== Contents of test case: list [::tcl::clock::GuessWindowsTimeZone] [clock format 0 -locale system -format "%H:%M:%S %Z"] [clock format -86400 -format "%Y"] ---- Test generated error; Return code was: 1 ---- Return code should have been one of: 0 2 ---- errorInfo: localtime failed (clock value may be too large/small to represent) while executing "clock format -86400 -format "%Y"" ("uplevel" body line 2) invoked from within "uplevel 1 $script" ---- errorCode: CLOCK localtimeFailed ==== clock-49.2.vm:1 FAILED Tests ended at Thu Jul 31 12:04:55 +0530 2025 all.tcl: Total 8724 Passed 8716 Skipped 0 Failed 8 Sourced 1 Test Files. Files with failing tests: clock.test ``` - is_private changed to: "0"
- login: "apnadkarni"
- priority changed to: "5 Medium"
- private_contact changed to: "9546e9877f1a8899e25a89082561ee694e7fb402"
- resolution changed to: "None"
- severity changed to: "Minor"
- status changed to: "Open"
- submitter changed to: "apnadkarni"
- subsystem changed to: "- New Builtin Commands"
- title changed to: "clock.test failures with -singleproc 1 on Windows"
- type changed to: "Bug"