Test clock: roll over millis like the board (arm64 CI) #6

Merged
audrow merged 1 commit from forgejo-ci/arm64-millis into main 2026-10-24 15:24:57 -05:00
Owner
No description provided.
test(host): wrap js_millis at 2^32 so the uptime test passes on arm64
All checks were successful
host / test (push) Successful in 10s
host / simulator (push) Successful in 46s
host / firmware (push) Successful in 10m7s
host / test (pull_request) Successful in 10s
host / simulator (pull_request) Successful in 1m9s
host / firmware (pull_request) Successful in 9m30s
277dc594b1
static_cast<uint32_t>(double) past 2^32 is undefined: x86-64 wraps, arm64
saturates at UINT32_MAX, which froze the clock in the 25-days-uptime test
on Forgejo's arm64 runner. The board's millis() wraps, so the host shim
should too.
audrow merged commit 2e11cb4f65 into main 2026-10-24 15:24:57 -05:00
audrow deleted branch forgejo-ci/arm64-millis 2026-10-24 15:24:57 -05:00
Sign in to join this conversation.
No description provided.