diff options
author | Alex Lorenz <arphaman@gmail.com> | 2017-06-02 11:26:35 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2017-06-02 11:26:35 +0000 |
commit | 5f3537bf30eb66cb5183ff9bfe3dbc08b01e00ac (patch) | |
tree | b8ad26adf24d2f7c3295f9a601fa729da72288c5 /test/Integration | |
parent | 8679b18b176b0675a7d5c30551e2c271a9050239 (diff) |
Tie the macOS tests in test/Integration to the latest macOS SDK
This change will ensure that these tests won't fail when a new SDK that
utilizes new compiler features is used.
See https://reviews.llvm.org/D32178 for more context.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@304542 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Integration')
-rw-r--r-- | test/Integration/carbon.c | 1 | ||||
-rw-r--r-- | test/Integration/cocoa-pch.m | 1 | ||||
-rw-r--r-- | test/Integration/cocoa.m | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/test/Integration/carbon.c b/test/Integration/carbon.c index 0498116dd1..3cae391226 100644 --- a/test/Integration/carbon.c +++ b/test/Integration/carbon.c @@ -1,4 +1,5 @@ // RUN: %clang -fsyntax-only %s +// REQUIRES: macos-sdk-10.12 #ifdef __APPLE__ #include <Carbon/Carbon.h> #endif diff --git a/test/Integration/cocoa-pch.m b/test/Integration/cocoa-pch.m index 0159b32014..fa3ccea378 100644 --- a/test/Integration/cocoa-pch.m +++ b/test/Integration/cocoa-pch.m @@ -1,6 +1,7 @@ // RUN: %clang -arch x86_64 -x objective-c-header %s -o %t.h.pch // RUN: touch %t.empty.m // RUN: %clang -arch x86_64 -fsyntax-only %t.empty.m -include %t.h -Xclang -ast-dump 2>&1 > /dev/null +// REQUIRES: macos-sdk-10.12 #ifdef __APPLE__ #include <Cocoa/Cocoa.h> #endif diff --git a/test/Integration/cocoa.m b/test/Integration/cocoa.m index d814b3ee21..91d8682508 100644 --- a/test/Integration/cocoa.m +++ b/test/Integration/cocoa.m @@ -1,4 +1,5 @@ // RUN: %clang -arch x86_64 %s -fsyntax-only -Xclang -print-stats +// REQUIRES: macos-sdk-10.12 #ifdef __APPLE__ #include <Cocoa/Cocoa.h> #endif |