[libcxx-commits] [PATCH] D151654: [libc++] Transition all remaining generated tests to the new .gen format

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon May 29 09:38:59 PDT 2023


ldionne created this revision.
Herald added subscribers: mstorsjo, krytarowski, arichardson.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added subscribers: libcxx-commits, jplehr, sstefan1.
Herald added a project: libc++.
Herald added a reviewer: libc++.

In addition to reducing the amount of boilerplate we need to generate
whenever a new header is added, this also improves the existing tests
by running them in separate Lit tests (so they can be parallelized).
This also creates separate translation units for most header tests,
which is what we really should have done from the start since it
isolates each header we're testing.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151654

Files:
  libcxx/test/libcxx/clang_tidy.gen.py
  libcxx/test/libcxx/clang_tidy.sh.cpp
  libcxx/test/libcxx/double_include.gen.py
  libcxx/test/libcxx/double_include.sh.cpp
  libcxx/test/libcxx/min_max_macros.compile.pass.cpp
  libcxx/test/libcxx/min_max_macros.gen.py
  libcxx/test/libcxx/modules_include.gen.py
  libcxx/test/libcxx/modules_include.sh.cpp
  libcxx/test/libcxx/nasty_macros.compile.pass.cpp
  libcxx/test/libcxx/nasty_macros.gen.py
  libcxx/test/libcxx/no_assert_include.compile.pass.cpp
  libcxx/test/libcxx/no_assert_include.gen.py
  libcxx/test/libcxx/private_headers.gen.py
  libcxx/test/libcxx/private_headers.verify.cpp
  libcxx/test/libcxx/transitive_includes.gen.py
  libcxx/test/libcxx/transitive_includes.sh.cpp
  libcxx/test/libcxx/transitive_includes_to_csv.py
  libcxx/utils/CMakeLists.txt
  libcxx/utils/generate_header_tests.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151654.526452.patch
Type: text/x-patch
Size: 241504 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230529/53f15590/attachment-0001.bin>


More information about the libcxx-commits mailing list