[libcxx-commits] [PATCH] D151893: [libc++] Use Lit annotations for all .gen.py tests

Louis Dionne via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Jun 1 08:23:09 PDT 2023


ldionne created this revision.
Herald added a subscriber: arichardson.
Herald added a project: All.
ldionne requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

Instead of guarding header tests using #ifdefs inside the tests,
use Lit markup to mark all the tests as unsupported. This is simpler
but also provides better feedback about which tests are being run
when running the test suite.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D151893

Files:
  libcxx/test/libcxx/assertions/headers_declare_verbose_abort.gen.py
  libcxx/test/libcxx/clang_tidy.gen.py
  libcxx/test/libcxx/double_include.gen.py
  libcxx/test/libcxx/header_inclusions.gen.py
  libcxx/test/libcxx/modules_include.gen.py
  libcxx/test/libcxx/nasty_macros.gen.py
  libcxx/test/libcxx/no_assert_include.gen.py
  libcxx/test/libcxx/private_headers.gen.py
  libcxx/test/libcxx/transitive_includes.gen.py
  libcxx/utils/libcxx/test/header_information.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D151893.527430.patch
Type: text/x-patch
Size: 14639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230601/79f7effc/attachment-0001.bin>


More information about the libcxx-commits mailing list