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/stdlib_test.cpp | |
parent | 999d82e51d8b96c622ecb63c69b56e7e7753e47d (diff) |
Switch to libbase SilentDeathTest.
Bug: http://b/184955378
Test: treehugger
Change-Id: Ie0849224074da92203340a741a86a24a4a3702c2
Diffstat (limited to 'tests/stdlib_test.cpp')
-rw-r--r-- | tests/stdlib_test.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/stdlib_test.cpp b/tests/stdlib_test.cpp index 90ef8619f..6c7966d72 100644 --- a/tests/stdlib_test.cpp +++ b/tests/stdlib_test.cpp @@ -31,9 +31,9 @@ #include <android-base/file.h> #include <android-base/macros.h> +#include <android-base/silent_death_test.h> #include <gtest/gtest.h> -#include "BionicDeathTest.h" #include "math_data_test.h" #include "utils.h" @@ -447,7 +447,7 @@ static void TestBug57421_main() { // Even though this isn't really a death test, we have to say "DeathTest" here so gtest knows to // run this test (which exits normally) in its own process. -class stdlib_DeathTest : public BionicDeathTest {}; +using stdlib_DeathTest = SilentDeathTest; TEST_F(stdlib_DeathTest, getenv_after_main_thread_exits) { // https://code.google.com/p/android/issues/detail?id=57421 |