[libcxx-commits] [libcxx] [libc++] Move a bunch of tests into std/meta to reflect the standard (PR #99452)
Nikolas Klauser via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Jul 18 06:11:20 PDT 2024
philnik777 wrote:
> I think we should discuss whether it still makes sense to try to stick to the "stable names" in the Standard. Those get out of date pretty often and I don't know if I'm alone, but I find nested tests like `libcxx/test/std/utilities/utility/mem.res/mem.res/mem.res.eq/equal.pass.cpp` to be pretty confusing. What's the point in repeating e.g. `mem.res` a bunch of times in the file path?
Do you have a better approach? The current one makes it quite obvious which part of the standard is tested, and makes it very easy to find tests when looking for coverage of some part of the standard. With the Clang way of "organizing" the tests I often have to search for quite a while to find the appropriate tests. Personally I don't really mind the duplication, since I almost always just search for the stable name to find a test.
https://github.com/llvm/llvm-project/pull/99452
More information about the libcxx-commits
mailing list