Skip to content

Commit 78a6f59

Browse files
committed
[RGT] Use GTEST_SKIP instead of just returning
1 parent ab8e1e6 commit 78a6f59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ TEST(RecursiveASTVisitor, VisitsLambdaExprAndImplicitClass) {
8888

8989
TEST(RecursiveASTVisitor, VisitsAttributedLambdaExpr) {
9090
if (llvm::Triple(llvm::sys::getDefaultTargetTriple()).isPS4())
91-
return; // PS4 does not support fastcall.
91+
GTEST_SKIP(); // PS4 does not support fastcall.
9292
LambdaExprVisitor Visitor;
9393
Visitor.ExpectMatch("", 1, 12);
9494
EXPECT_TRUE(Visitor.runOver(

0 commit comments

Comments
 (0)