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/lit.cfg | |
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/lit.cfg')
-rw-r--r-- | test/lit.cfg | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg index a5e8b9de99..e72eca6bd3 100644 --- a/test/lit.cfg +++ b/test/lit.cfg @@ -529,3 +529,6 @@ if run_console_tests != 0: config.available_features.add('console') lit.util.usePlatformSdkOnDarwin(config, lit_config) +macOSSDKVersion = lit.util.findPlatformSdkVersionOnMacOS(config, lit_config) +if macOSSDKVersion is not None: + config.available_features.add('macos-sdk-' + macOSSDKVersion) |