summaryrefslogtreecommitdiffstats
path: root/compiler-rt/test
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
commita54e218d4aa8f370edb2c772a685e28c984dcfcc (patch)
treee3c002bb8071f27509fb638c413ea5a9db245e79 /compiler-rt/test
parente9128f8405417feafd5e9d8999c0201a6db4f127 (diff)
downloadbcm5719-llvm-a54e218d4aa8f370edb2c772a685e28c984dcfcc.tar.gz
bcm5719-llvm-a54e218d4aa8f370edb2c772a685e28c984dcfcc.zip
[builtins][macos] bump up the the macOS version min in os_version_check tests
This ensures that the tests link with the latest OS. llvm-svn: 332647
Diffstat (limited to 'compiler-rt/test')
-rw-r--r--compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test.c2
-rw-r--r--compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test.c b/compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test.c
index 2692cd37edc..bae1f325506 100644
--- a/compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test.c
+++ b/compiler-rt/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/compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c b/compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c
index 4e0da35cd12..90c798f6c55 100644
--- a/compiler-rt/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c
+++ b/compiler-rt/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);
OpenPOWER on IntegriCloud