llvm-project/libcxxabi/test
Louis Dionne ec46cfefe8 [libcxx] Simplify back-deployment testing
The needs of back-deployment testing currently require two different
ways of running the test suite: one based on the deployment target,
and one based on the target triple. Since the triple includes all the
information we need, it's better to have just one way of doing things.

Furthermore, `--param platform=XXX` is also supersedded by using the
target triple. Previously, this parameter would serve the purpose of
controling XFAILs for availability markup errors, however it is possible
to achieve the same thing by using with_system_cxx_lib only and using
.verify.cpp tests instead, as explained in the documentation changes.

The motivation for this change is twofold:
1. This part of the Lit config has always been really confusing and
   complicated, and it has been a source of bugs in the past. I have
   simplified it iteratively in the past, but the complexity is still
   there.
2. The deployment-target detection started failing in weird ways in
   recent Clangs, breaking our CI. Instead of band-aid patching the
   issue, I decided to remove the complexity altogether by using target
   triples even on Apple platforms.

A follow-up to this commit will bring the test suite in line with
the recommended way of handling availability markup tests.
2020-09-10 08:17:26 -04:00
..
libcxxabi [runtimes] Move the enable_rtti Lit parameter to the DSL 2020-07-16 12:56:00 -04:00
native/arm-linux-eabi [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
support small follow-up to r368604 2019-08-12 19:19:29 +00:00
CMakeLists.txt [runtimes] Allow passing Lit parameters through CMake 2020-07-09 12:45:00 -04:00
backtrace_test.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_array_01.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_array_02.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_class_01.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_class_02.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_class_03.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_class_04.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_const_pointer_nullptr.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_function_01.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_function_02.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_function_03.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_in_noexcept.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
catch_member_data_pointer_01.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_member_function_pointer_01.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_member_function_pointer_02.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_member_pointer_nullptr.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_multi_level_pointer.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_pointer_nullptr.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
catch_pointer_reference.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_ptr.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_ptr_02.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
catch_reference_nullptr.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
cxa_bad_cast.pass.cpp [libc++abi] Replace LIBCXXABI_HAS_NO_EXCEPTIONS by TEST_HAS_NO_EXCEPTIONS 2020-06-09 16:13:17 -04:00
cxa_bad_typeid.pass.cpp [libc++abi] Replace LIBCXXABI_HAS_NO_EXCEPTIONS by TEST_HAS_NO_EXCEPTIONS 2020-06-09 16:13:17 -04:00
cxa_thread_atexit_test.pass.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
cxa_vec_new_overflow_PR41395.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
dynamic_cast.pass.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
dynamic_cast3.pass.cpp libcxxabi: Rename .hpp files to .h 2019-08-12 19:11:23 +00:00
dynamic_cast5.pass.cpp libcxxabi: Rename .hpp files to .h 2019-08-12 19:11:23 +00:00
dynamic_cast14.pass.cpp libcxxabi: Rename .hpp files to .h 2019-08-12 19:11:23 +00:00
dynamic_cast_stress.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
exception_object_alignment.2.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
exception_object_alignment.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
guard_test_basic.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
guard_threaded_test.pass.cpp [libc++abi] NFC: Fix indentation 2020-07-16 12:42:43 -04:00
incomplete_type.sh.cpp [libc++] Consider everything inside %T to be a dependency of each test 2020-06-10 22:38:05 -04:00
inherited_exception.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
lit.cfg.py [libc++abi] Allow specifying custom Lit config files 2020-06-25 12:15:15 -04:00
lit.site.cfg.in [libcxx] Simplify back-deployment testing 2020-09-10 08:17:26 -04:00
noexception1.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
noexception2.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
noexception3.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
noexception4.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
test_aux_runtime.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
test_aux_runtime_op_array_new.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
test_demangle.pass.cpp Fix test for D77924. 2020-08-24 15:32:58 -07:00
test_exception_address_alignment.pass.cpp [libc++abi] Temporarily disable test on Apple to fix the CI 2020-07-16 15:41:55 -04:00
test_exception_storage.pass.cpp libcxxabi: Rename .hpp files to .h 2019-08-12 19:11:23 +00:00
test_fallback_malloc.pass.cpp Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
test_guard.pass.cpp [libc++abi] Replace LIBCXXABI_HAS_NO_EXCEPTIONS by TEST_HAS_NO_EXCEPTIONS 2020-06-09 16:13:17 -04:00
test_vector1.pass.cpp [libc++abi] Replace LIBCXXABI_HAS_NO_EXCEPTIONS by TEST_HAS_NO_EXCEPTIONS 2020-06-09 16:13:17 -04:00
test_vector2.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
test_vector3.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
thread_local_destruction_order.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
uncaught_exception.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
uncaught_exceptions.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
unittest_demangle.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
unwind_01.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00
unwind_02.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
unwind_03.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
unwind_04.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
unwind_05.pass.cpp [libc++] Remove the c++98 Lit feature from the test suite 2020-06-03 09:37:22 -04:00
unwind_06.pass.cpp [libc++/abi/unwind] Rename Lit features for no exceptions to 'no-exceptions' 2020-04-22 08:25:27 -04:00