[libc-commits] [libc] [libc][NFC] Add few options to allow users to skip building and running some tests. (PR #199474)
via libc-commits
libc-commits at lists.llvm.org
Tue May 26 15:46:51 PDT 2026
================
@@ -19,6 +19,12 @@ function(_get_common_test_compile_options output_var c_test flags)
${config_flags}
${arch_flags})
+ # EXPECT_DEATH and ASSERT_DEATH might be quite slow. LIBC_TEST_SKIP_DEATH_TESTS
+ # will make those tests no-op to reduce the overall test time.
+ if(LIBC_TEST_SKIP_DEATH_TESTS)
+ list(APPEND compile_options "-DLIBC_TEST_SKIP_DEATH_TESTS")
----------------
lntue wrote:
Done.
https://github.com/llvm/llvm-project/pull/199474
More information about the libc-commits
mailing list