On Tue, 23 Sep 2025, Pali Rohár wrote:
---
mingw-w64-crt/testcases/t_time.c | 74 +++++++++++++++++++++++++++++---
1 file changed, 67 insertions(+), 7 deletions(-)
This test, or some of the earlier changes in this branch, fails when run
on github actions.
On UCRT, the tests fail with the following error:
FAIL: t_time
============
Assertion failed: strcmp (str, "Wed Mar 16 13:56:32 2242\n") == 0, file
../../testcases/t_time.c, line 81
FAIL t_time.exe (exit status: 127)
On msvcrt, it fails like this:
FAIL: t_time
============
Assertion failed: strcmp (str, "Wed Mar 16 13:56:32 2242\n") == 0, file
../../testcases/t_time.c, line 81
time: 0x68e7a84dULL
_time32: 0x68e7a84d
_time64: 0x68e7a84dULL
_localtime32: Thu Oct 09 12:19:25 2025
localtime: Thu Oct 09 12:19:25 2025
_localtime64: Thu Oct 09 12:19:25 2025
_ftime: 0x68e7a84dULL.0xea
_ftime32: 0x68e7a84d .0xea
_ftime64: 0x68e7a84dULL.0xea
ftime: 0 0x68e7a84dULL.0xea
ftime32: 0 0x68e7a84d .0xea
ftime64: 0 0x68e7a84dULL.0xea
_gmtime64(1<<33): sec=32 min=56 hour=12 mday=16 mon=2 year=342 wday=3
yday=74 isdst=0
_mkgmtime64(): 0x200000000
_ctime64(1<<33): Wed Mar 16 12:56:32 2242
FAIL t_time.exe (exit status: 3)
// Martin
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public