]> granicus.if.org Git - clang/commitdiff
Make this test pretend to be on a darwin host.
authorJohn McCall <rjmccall@apple.com>
Thu, 16 Jun 2011 01:18:08 +0000 (01:18 +0000)
committerJohn McCall <rjmccall@apple.com>
Thu, 16 Jun 2011 01:18:08 +0000 (01:18 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@133125 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/ios-simulator-arcruntime.c

index 7ecb34363a5e3899760f982cdedbc3289fafe0ed..d35fe67a74e8a13d6bf19cea352df3f0801dd257 100644 (file)
@@ -1,5 +1,6 @@
-// RUN: %clang -### -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40201 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s
-// RUN: %clang -### -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s
+// RUN: %clang -### -ccc-host-triple i386-apple-darwin10 -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=40201 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS1 %s
+// RUN: %clang -### -ccc-host-triple i386-apple-darwin10 -arch i386 -mmacosx-version-min=10.6 -D__IPHONE_OS_VERSION_MIN_REQUIRED=50000 -fobjc-arc -fsyntax-only %s 2>&1 | FileCheck -check-prefix=CHECK-OPTIONS2 %s
+// 
 
 // CHECK-OPTIONS1: -fobjc-no-arc-runtime
 // CHECK-OPTIONS2-NOT: -fobjc-no-arc-runtime