[all-commits] [llvm/llvm-project] 7d2b9f: [libc++] Use Lit annotations for all .gen.py tests

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Jun 6 13:29:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7d2b9fafabd6f1a67e05ab2fa0abb5f7c8a451e7
      https://github.com/llvm/llvm-project/commit/7d2b9fafabd6f1a67e05ab2fa0abb5f7c8a451e7
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2023-06-06 (Tue, 06 Jun 2023)

  Changed paths:
    M libcxx/include/__memory_resource/synchronized_pool_resource.h
    M libcxx/test/libcxx/assertions/headers_declare_verbose_abort.gen.py
    M libcxx/test/libcxx/clang_tidy.gen.py
    M libcxx/test/libcxx/double_include.gen.py
    M libcxx/test/libcxx/header_inclusions.gen.py
    M libcxx/test/libcxx/modules_include.gen.py
    M libcxx/test/libcxx/nasty_macros.gen.py
    M libcxx/test/libcxx/no_assert_include.gen.py
    M libcxx/test/libcxx/private_headers.gen.py
    M libcxx/test/libcxx/transitive_includes.gen.py
    M libcxx/utils/libcxx/test/header_information.py

  Log Message:
  -----------
  [libc++] Use Lit annotations for all .gen.py tests

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.

Differential Revision: https://reviews.llvm.org/D151893




More information about the All-commits mailing list