From: Benjamin Kramer Date: Tue, 2 Oct 2012 09:29:48 +0000 (+0000) Subject: Force triple in test to unbreak it on non-darwin platforms. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e50d4f6a06c306e86de780cabb6309afb8d9cb86;p=clang Force triple in test to unbreak it on non-darwin platforms. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164994 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/SemaObjC/nonarc-weak.m b/test/SemaObjC/nonarc-weak.m index 912a0b160b..ab51875de1 100644 --- a/test/SemaObjC/nonarc-weak.m +++ b/test/SemaObjC/nonarc-weak.m @@ -1,5 +1,5 @@ -// RUN: %clang -fsyntax-only -Wunused-function %s > %t.nonarc 2>&1 -// RUN: %clang -fsyntax-only -Wunused-function -fobjc-arc %s > %t.arc 2>&1 +// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -fobjc-runtime=macosx-10.8.0 -fsyntax-only -Wunused-function %s > %t.nonarc 2>&1 +// RUN: %clang_cc1 -triple x86_64-apple-macosx10.8.0 -fobjc-runtime=macosx-10.8.0 -fsyntax-only -Wunused-function -fobjc-arc %s > %t.arc 2>&1 // RUN: FileCheck -input-file=%t.nonarc %s // RUN: FileCheck -input-file=%t.arc -check-prefix=ARC %s