diff options
Diffstat (limited to 'tests/threads_test.cpp')
-rw-r--r-- | tests/threads_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/threads_test.cpp b/tests/threads_test.cpp index 5fafff38d..c1e9b123a 100644 --- a/tests/threads_test.cpp +++ b/tests/threads_test.cpp @@ -60,7 +60,8 @@ static int exit_arg(void* arg) { #include <thread> -#include "BionicDeathTest.h" +#include <android-base/silent_death_test.h> + #include "SignalUtils.h" TEST(threads, call_once) { @@ -361,7 +362,7 @@ TEST(threads, thrd_create__thrd_exit) { #endif } -class threads_DeathTest : public BionicDeathTest {}; +using threads_DeathTest = SilentDeathTest; TEST(threads_DeathTest, thrd_exit_main_thread) { #if !defined(HAVE_THREADS_H) |