summaryrefslogtreecommitdiff
path: root/test/builtins
diff options
context:
space:
mode:
authorAlex Lorenz <arphaman@gmail.com>2018-05-17 18:41:38 +0000
committerAlex Lorenz <arphaman@gmail.com>2018-05-17 18:41:38 +0000
commit3b1ddf89c7b063115494d8fdc0de7f51ca38013a (patch)
tree3583171241bc9cddfb2eadc0e27b3984239da33a /test/builtins
parentf27d8bc00e372032b3483adbb3f28c405178bad6 (diff)
[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
Diffstat (limited to 'test/builtins')
-rw-r--r--test/builtins/TestCases/Darwin/os_version_check_test.c2
-rw-r--r--test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c2
2 files changed, 2 insertions, 2 deletions
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);