diff options
Diffstat (limited to 'tests/cfi_test.cpp')
-rw-r--r-- | tests/cfi_test.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/cfi_test.cpp b/tests/cfi_test.cpp index e0ae3afc7..d3cd8d1b8 100644 --- a/tests/cfi_test.cpp +++ b/tests/cfi_test.cpp @@ -35,6 +35,8 @@ void __cfi_slowpath_diag(uint64_t CallSiteTypeId, void* Ptr, void* DiagData); size_t __cfi_shadow_size(); } +using cfi_test_DeathTest = BionicDeathTest; + static void f() {} static void test_cfi_slowpath_with_alloc() { @@ -45,7 +47,7 @@ static void test_cfi_slowpath_with_alloc() { } } -TEST(cfi_test, basic) { +TEST_F(cfi_test_DeathTest, basic) { #if defined(__BIONIC__) void* handle; handle = dlopen("libcfi-test.so", RTLD_NOW | RTLD_LOCAL); |