From 141b917018048c5fda567785740dfaaf38e66f1e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 9 Apr 2021 17:13:09 -0700 Subject: Switch to libbase SilentDeathTest. Bug: http://b/184955378 Test: treehugger Change-Id: Ie0849224074da92203340a741a86a24a4a3702c2 --- tests/stack_protector_test.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/stack_protector_test.cpp') diff --git a/tests/stack_protector_test.cpp b/tests/stack_protector_test.cpp index 9fe7bb105..a95e0373c 100644 --- a/tests/stack_protector_test.cpp +++ b/tests/stack_protector_test.cpp @@ -19,7 +19,6 @@ */ #include -#include "BionicDeathTest.h" #include #include @@ -27,6 +26,8 @@ #include #include +#include + #include "private/bionic_tls.h" extern "C" pid_t gettid(); // glibc defines this but doesn't declare it anywhere. @@ -99,7 +100,7 @@ TEST(stack_protector, global_guard) { #endif } -class stack_protector_DeathTest : public BionicDeathTest {}; +using stack_protector_DeathTest = SilentDeathTest; TEST_F(stack_protector_DeathTest, modify_stack_protector) { // In another file to prevent inlining, which removes stack protection. -- cgit v1.2.3