summaryrefslogtreecommitdiff
path: root/tests/threads_test.cpp
diff options
context:
space:
mode:
authorScott Lobdell <slobdell@google.com>2021-04-25 19:53:00 +0000
committerScott Lobdell <slobdell@google.com>2021-04-25 19:53:00 +0000
commitdfa7c0a9b59c4ef591f46f7624dfe687c2bb0a6c (patch)
tree4b78af6f79fb9de2a712ac6268059bf838000a40 /tests/threads_test.cpp
parent987dccb5f063052171fae7a59cbf9fca808f8f80 (diff)
parent4626df89bfb561fc06d805e04d040a15f378919f (diff)
Merge SP1A.210425.001
Change-Id: If71c56f3e2e9fbbeffc7096a560a5ef8b8cd8566
Diffstat (limited to 'tests/threads_test.cpp')
-rw-r--r--tests/threads_test.cpp5
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)