From 78a6f59c2cef58c01a13ba4e587b30cd1dbd6475 Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Fri, 8 Apr 2022 12:19:51 -0700 Subject: [PATCH] [RGT] Use GTEST_SKIP instead of just returning --- clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp b/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp index 8e23487..4eaa163 100644 --- a/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp +++ b/clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp @@ -88,7 +88,7 @@ TEST(RecursiveASTVisitor, VisitsLambdaExprAndImplicitClass) { TEST(RecursiveASTVisitor, VisitsAttributedLambdaExpr) { if (llvm::Triple(llvm::sys::getDefaultTargetTriple()).isPS4()) - return; // PS4 does not support fastcall. + GTEST_SKIP(); // PS4 does not support fastcall. LambdaExprVisitor Visitor; Visitor.ExpectMatch("", 1, 12); EXPECT_TRUE(Visitor.runOver( -- 2.7.4