[NFC][cmake] Sort COMPILER_RT_TEST_SUITES

This commit is contained in:
Vitaly Buka 2023-09-10 11:53:55 -07:00
parent 5862ed2878
commit 5361a0a38f

View File

@ -138,9 +138,24 @@ if(LLVM_BUILD_EXTERNAL_COMPILER_RT AND EXISTS ${COMPILER_RT_SRC_ROOT}/)
FileCheck count not llvm-nm llvm-objdump llvm-symbolizer llvm-jitlink lli split-file)
# Add top-level targets for various compiler-rt test suites.
set(COMPILER_RT_TEST_SUITES check-fuzzer check-asan check-hwasan check-asan-dynamic check-dfsan
check-lsan check-msan check-sanitizer check-tsan check-ubsan check-ubsan-minimal
check-profile check-cfi check-cfi-and-supported check-safestack check-gwp_asan)
set(COMPILER_RT_TEST_SUITES
check-asan
check-asan-dynamic
check-cfi
check-cfi-and-supported
check-dfsan
check-fuzzer
check-gwp_asan
check-hwasan
check-lsan
check-msan
check-profile
check-safestack
check-sanitizer
check-tsan
check-ubsan
check-ubsan-minimal
)
foreach(test_suite ${COMPILER_RT_TEST_SUITES})
get_ext_project_build_command(run_test_suite ${test_suite})
add_custom_target(${test_suite}