Skip to content

Commit

Permalink
Add GTEST_ALLOW_UNINSTANTIATED_PARAMETERIZED_TEST to gwp_asan unittests
Browse files Browse the repository at this point in the history
This keeps it working after the gtest update in a866ce7
  • Loading branch information
d0k committed Sep 14, 2023
1 parent adc5509 commit 4f1f171
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions compiler-rt/lib/gwp_asan/tests/harness.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4f1f171

Please sign in to comment.