diff --git a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp index 27255b49ba26..f1dff22023e2 100644 --- a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp +++ b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp @@ -1829,7 +1829,7 @@ TEST(ScudoCombinedDeathTest, AlignMismatch) { // Pointer is guaranteed to not be aligned to 2 * page size. void *AlignedPtr = getMinAlignedPointer(Allocator.get()); if (AlignedPtr == nullptr) { - GTEST_SKIP() << "Cannot allocate aligned pointer for test."; + TEST_SKIP("Cannot allocate aligned pointer for test."); } scudo::uptr Alignment = 2 * scudo::getPageSizeCached(); diff --git a/compiler-rt/lib/scudo/standalone/tests/common_test.cpp b/compiler-rt/lib/scudo/standalone/tests/common_test.cpp index ebb0cf98f962..b46ceb558b69 100644 --- a/compiler-rt/lib/scudo/standalone/tests/common_test.cpp +++ b/compiler-rt/lib/scudo/standalone/tests/common_test.cpp @@ -23,7 +23,7 @@ namespace scudo { TEST(ScudoCommonTest, VerifyGetResidentPages) { if (!SCUDO_LINUX) - GTEST_SKIP() << "Only valid on linux systems."; + TEST_SKIP("Only valid on linux systems."); constexpr uptr NumPages = 512; const uptr SizeBytes = NumPages * getPageSizeCached(); @@ -67,7 +67,7 @@ TEST(ScudoCommonTest, VerifyGetResidentPages) { TEST(ScudoCommonTest, VerifyReleasePagesToOS) { if (!SCUDO_LINUX) - GTEST_SKIP() << "Only valid on linux systems."; + TEST_SKIP("Only valid on linux systems."); constexpr uptr NumPages = 1000; const uptr SizeBytes = NumPages * getPageSizeCached();