[compiler-rt] r332647 - [builtins][macos] bump up the the macOS version min in os_version_check tests

Alex Lorenz via llvm-commits llvm-commits at lists.llvm.org
Thu May 17 11:41:38 PDT 2018


Author: arphaman
Date: Thu May 17 11:41:38 2018
New Revision: 332647

URL: http://llvm.org/viewvc/llvm-project?rev=332647&view=rev
Log:
[builtins][macos] bump up the the macOS version min in os_version_check tests

This ensures that the tests link with the latest OS.

Modified:
    compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test.c
    compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c

Modified: compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test.c?rev=332647&r1=332646&r2=332647&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test.c (original)
+++ compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test.c Thu May 17 11:41:38 2018
@@ -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);

Modified: compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c?rev=332647&r1=332646&r2=332647&view=diff
==============================================================================
--- compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c (original)
+++ compiler-rt/trunk/test/builtins/TestCases/Darwin/os_version_check_test_no_core_foundation.c Thu May 17 11:41:38 2018
@@ -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);




More information about the llvm-commits mailing list