From d99120939ecbe686d418fc29fdac9bc6574b5f30 Mon Sep 17 00:00:00 2001 From: Mitch Phillips <31459023+hctim@users.noreply.github.com> Date: Thu, 12 Jan 2023 15:58:10 -0800 Subject: [PATCH] Revert "[GWP-ASan] Fix test to work with Fuchsia's zxtest" This reverts commit 64138725e4cf0ab5e3f9c0dba38e11ce3d3b4017. Parent change https://reviews.llvm.org/D140173 broke an internal build. I'll land this bit as part of the re-land for https://reviews.llvm.org/D140173. --- compiler-rt/lib/gwp_asan/tests/harness.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler-rt/lib/gwp_asan/tests/harness.h b/compiler-rt/lib/gwp_asan/tests/harness.h index e6be68c..2c8187c 100644 --- a/compiler-rt/lib/gwp_asan/tests/harness.h +++ b/compiler-rt/lib/gwp_asan/tests/harness.h @@ -14,11 +14,9 @@ #if defined(__Fuchsia__) #include using Test = ::zxtest::Test; -template using TestWithParam = ::zxtest::TestWithParam; #else #include "gtest/gtest.h" using Test = ::testing::Test; -template using TestWithParam = ::zxtest::TestWithParam; #endif #include "gwp_asan/guarded_pool_allocator.h" @@ -84,7 +82,7 @@ protected: }; class BacktraceGuardedPoolAllocator - : public TestWithParam { + : public testing::TestWithParam { public: void SetUp() override { gwp_asan::options::Options Opts; -- 2.7.4