diff options
author | Elliott Hughes <enh@google.com> | 2021-04-09 17:13:09 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2021-04-12 10:01:20 -0700 |
commit | 141b917018048c5fda567785740dfaaf38e66f1e (patch) | |
tree | 144416c96d8e3d1406ed78d8221a72a174317d80 /tests/semaphore_test.cpp | |
parent | 999d82e51d8b96c622ecb63c69b56e7e7753e47d (diff) |
Switch to libbase SilentDeathTest.
Bug: http://b/184955378
Test: treehugger
Change-Id: Ie0849224074da92203340a741a86a24a4a3702c2
Diffstat (limited to 'tests/semaphore_test.cpp')
-rw-r--r-- | tests/semaphore_test.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/semaphore_test.cpp b/tests/semaphore_test.cpp index ed0fcf17e..f3f60208d 100644 --- a/tests/semaphore_test.cpp +++ b/tests/semaphore_test.cpp @@ -17,17 +17,18 @@ #include <semaphore.h> #include <errno.h> -#include <gtest/gtest.h> #include <limits.h> #include <pthread.h> #include <time.h> #include <unistd.h> -#include "BionicDeathTest.h" +#include <android-base/silent_death_test.h> +#include <gtest/gtest.h> + #include "SignalUtils.h" #include "private/bionic_constants.h" -using semaphore_DeathTest = BionicDeathTest; +using semaphore_DeathTest = SilentDeathTest; TEST(semaphore, sem_init) { sem_t s; |