summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2023-09-14 10:58:59 +0200
committerCopybara-Service <copybara-worker@google.com>2023-09-14 02:06:38 -0700
commit9e80b4fe3242fc73a55981735560f19e3a438552 (patch)
tree82c7a9d5f317f7c5e6d32d9b88545ea063f57e09
parent6eed0002f7603c59f2643e8cd9cf67d41223c2c2 (diff)
downloadgwp_asan-9e80b4fe3242fc73a55981735560f19e3a438552.tar.gz
Add GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST to gwp_asan unittests
This keeps it working after the gtest update in a866ce789eb99da4d7a486eeb60a53be6c75f4fd GitOrigin-RevId: 4f1f171f330545c7fad254a672c61eaffcd9344c Change-Id: I92197f3bef174747782675bcc5eedc846e72a674
-rw-r--r--gwp_asan/tests/harness.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/gwp_asan/tests/harness.cpp b/gwp_asan/tests/harness.cpp
index 4633d3e..7ed408b 100644
--- a/gwp_asan/tests/harness.cpp
+++ b/gwp_asan/tests/harness.cpp
@@ -55,7 +55,9 @@ INSTANTIATE_TEST_SUITE_P(RecoverableAndNonRecoverableTests,
#else
INSTANTIATE_TEST_SUITE_P(RecoverableTests, BacktraceGuardedPoolAllocator,
/* Recoverable */ testing::Values(true));
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(BacktraceGuardedPoolAllocator);
INSTANTIATE_TEST_SUITE_P(RecoverableAndNonRecoverableTests,
BacktraceGuardedPoolAllocatorDeathTest,
/* Recoverable */ testing::Bool());
+GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST(BacktraceGuardedPoolAllocatorDeathTest);
#endif