[libcxx-commits] [libcxx] [libc++] Make libcxx/selftest a top-level test directory (PR #144852)
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Fri Jun 20 09:19:22 PDT 2025
https://github.com/ldionne commented:
> `test/libcxx/selftest/modules` moved to `test/libcxx/modules`, since the assumptions these tests check are libc++-specific
This is tricky -- these tests are really testing the Lit testing format in itself. They are testing the `MODULE_DEPENDENCIES:` directive.
I believe it makes more sense to keep them under `libcxx/test/selftest/` even though they don't currently work with other implementations. In theory, these tests could also be used to test other implementations since we're all supposed to be providing a similar mechanism for using C++20 modules (which is what the build systems will rely on).
WDYT?
https://github.com/llvm/llvm-project/pull/144852
More information about the libcxx-commits
mailing list