[libc++] Use the new .gen tests to implement __verbose_abort tests
authorLouis Dionne <ldionne.2@gmail.com>
Mon, 22 May 2023 19:47:00 +0000 (12:47 -0700)
committerLouis Dionne <ldionne.2@gmail.com>
Mon, 29 May 2023 19:28:52 +0000 (12:28 -0700)
commit1ee839d0ce13820955749a6d0e2506c4ea55d030
treeb48899be82689af6efa12e6d479d74368d048476
parent638112737efc3580391a645f301e5c349ff9d043
[libc++] Use the new .gen tests to implement __verbose_abort tests

This reduces the amount of boilerplate that we need to generate
for each commit. It also resolves a problem where the modular CI
would run extremely slow on this test because we'd define a macro
before including the standard library, defeating the module cache.

Differential Revision: https://reviews.llvm.org/D151156
libcxx/test/libcxx/assertions/headers_declare_verbose_abort.gen.py [new file with mode: 0644]
libcxx/test/libcxx/assertions/headers_declare_verbose_abort.sh.cpp [deleted file]
libcxx/utils/generate_header_tests.py
libcxx/utils/libcxx/test/header_information.py [new file with mode: 0644]