From 3b1ddf89c7b063115494d8fdc0de7f51ca38013a Mon Sep 17 00:00:00 2001 From: Alex Lorenz Date: Thu, 17 May 2018 18:41:38 +0000 Subject: [builtins][macos] bump up the the macOS version min in os_version_check tests This ensures that the tests link with the latest OS. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@332647 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/builtins/TestCases/Darwin/os_version_check_test.c | 2 +- .../TestCases/Darwin/os_version_check_test_no_core_foundation.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/builtins/TestCases/Darwin/os_version_check_test.c b/test/builtins/TestCases/Darwin/os_version_check_test.c index 2692cd37e..bae1f3255 100644 --- a/test/builtins/TestCases/Darwin/os_version_check_test.c +++ b/test/builtins/TestCases/Darwin/os_version_check_test.c @@ -1,4 +1,4 @@ -// RUN: %clang %s -o %t -mmacosx-version-min=10.5 -framework CoreFoundation -DMAJOR=%macos_version_major -DMINOR=%macos_version_minor -DSUBMINOR=%macos_version_subminor +// RUN: %clang %s -o %t -mmacosx-version-min=10.6 -framework CoreFoundation -DMAJOR=%macos_version_major -DMINOR=%macos_version_minor -DSUBMINOR=%macos_version_subminor // RUN: %run %t int __isOSVersionAtLeast(int Major, int Minor, int Subminor); diff --git a/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c b/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c index 4e0da35cd..90c798f6c 100644 --- a/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c +++ b/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c @@ -1,4 +1,4 @@ -// RUN: %clang %s -o %t -mmacosx-version-min=10.5 +// RUN: %clang %s -o %t -mmacosx-version-min=10.6 // RUN: %run %t int __isOSVersionAtLeast(int Major, int Minor, int Subminor); -- cgit v1.2.3