[libcxx-commits] [libcxx] [libc++][TZDB] Implements time_zone get_info(local_time). (PR #89537)

via libcxx-commits libcxx-commits at lists.llvm.org
Fri Jun 14 15:06:35 PDT 2024


zeroomega wrote:

I looked into the test flakiness introduced by this PR and filed the bug: https://github.com/llvm/llvm-project/issues/95612 . 

TL;DR is the test results depends on the host's timezone database (which is located at `/usr/share/zoneinfo/tzdata.zi` on Debian). This needs to be addresses as libcxx tests like this should be hermetic. We should either check-in a reference timezone data base in LLVM tree for testing purpose or maybe generate one during the build, instead reading it from the host system.

https://github.com/llvm/llvm-project/pull/89537


More information about the libcxx-commits mailing list