From: Argyrios Kyrtzidis Date: Fri, 24 Jul 2015 17:18:25 +0000 (+0000) Subject: [test] Attempt to fix failing test in non-darwin bots. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f8139237ad52f945883dfd934ef994f94a723210;p=clang [test] Attempt to fix failing test in non-darwin bots. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@243120 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Index/complete-method-decls.m b/test/Index/complete-method-decls.m index c1e8f7e773..b24a32ed10 100644 --- a/test/Index/complete-method-decls.m +++ b/test/Index/complete-method-decls.m @@ -223,10 +223,10 @@ typedef A *MyObjectRef; // CHECK-CLASSTY: ObjCInstanceMethodDecl:{LeftParen (}{Text MyObject *}{RightParen )}{TypedText meth2} // CHECK-CLASSTY: ObjCInstanceMethodDecl:{LeftParen (}{Text MyObjectRef}{RightParen )}{TypedText meth3} -// RUN: c-index-test -code-completion-at=%s:94:2 %s | FileCheck -check-prefix=CHECK-NULLABILITY %s +// RUN: c-index-test -code-completion-at=%s:94:2 %s -target x86_64-apple-macosx10.7 | FileCheck -check-prefix=CHECK-NULLABILITY %s // CHECK-NULLABILITY: ObjCInstanceMethodDecl:{LeftParen (}{Text I2 *}{RightParen )}{TypedText produceI2}{TypedText :}{LeftParen (}{Text I2 *}{RightParen )}{Text i2} (40) // CHECK-NULLABILITY: ObjCInstanceMethodDecl:{LeftParen (}{Text int * _Nullable *}{RightParen )}{TypedText something}{TypedText :}{LeftParen (}{Text void (^)(int * _Nullable)}{RightParen )}{Text b} -// RUN: c-index-test -code-completion-at=%s:105:2 %s | FileCheck -check-prefix=CHECK-NULLABILITY2 %s +// RUN: c-index-test -code-completion-at=%s:105:2 %s -target x86_64-apple-macosx10.7 | FileCheck -check-prefix=CHECK-NULLABILITY2 %s // CHECK-NULLABILITY2: ObjCInstanceMethodDecl:{LeftParen (}{Text instancetype}{RightParen )}{TypedText getI3} (40) // CHECK-NULLABILITY2: ObjCInstanceMethodDecl:{LeftParen (}{Text I3 *}{RightParen )}{TypedText produceI3}{TypedText :}{LeftParen (}{Text I3 *}{RightParen )}{Text i3} (40)