[libcxx-commits] [libcxx] [libc++][chrono] Adds the sys_info class. (PR #85619)

David Spickett via libcxx-commits libcxx-commits at lists.llvm.org
Thu Dec 12 02:01:39 PST 2024


DavidSpickett wrote:

https://github.com/llvm/llvm-project/blob/98470c0b2e0eef52e6900bf2d524a390edac9d58/libcxx/test/std/time/time.zone/time.zone.timezone/time.zone.members/sys_info.zdump.pass.cpp#L115 is the code that calls out to zdump.

The test is marked with:
```
// UNSUPPORTED: no-filesystem, no-localization, no-tzdb, has-no-zdump
```
Which is checked here: https://github.com/llvm/llvm-project/blob/98470c0b2e0eef52e6900bf2d524a390edac9d58/libcxx/utils/libcxx/test/features.py#L343

So `zdump` must be there when the features are checked but somehow it's gone when the test runs. Perhaps lit is scrubbing the environment variables and removing some extra paths that include /usr/sbin/ ?

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


More information about the libcxx-commits mailing list