summaryrefslogtreecommitdiff
path: root/tests/clang_fortify_tests.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/clang_fortify_tests.cpp')
-rw-r--r--tests/clang_fortify_tests.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/clang_fortify_tests.cpp b/tests/clang_fortify_tests.cpp
index 035517083..5768f1fb3 100644
--- a/tests/clang_fortify_tests.cpp
+++ b/tests/clang_fortify_tests.cpp
@@ -94,14 +94,14 @@
#include <wchar.h>
#ifndef COMPILATION_TESTS
+#include <android-base/silent_death_test.h>
#include <gtest/gtest.h>
-#include "BionicDeathTest.h"
#define CONCAT2(x, y) x##y
#define CONCAT(x, y) CONCAT2(x, y)
#define FORTIFY_TEST_NAME CONCAT(CONCAT(clang_fortify_test_, _FORTIFY_SOURCE), _DeathTest)
-using FORTIFY_TEST_NAME = BionicDeathTest;
+using FORTIFY_TEST_NAME = SilentDeathTest;
template <typename Fn>
__attribute__((noreturn)) static void ExitAfter(Fn&& f) {