forked from OSchip/llvm-project
Move the test from r305678 to a separte file with 'REQUIRES: system-darwin'
Otherwise it will fail on non-macOS systems. llvm-svn: 305685
This commit is contained in:
parent
f9d86db755
commit
89cfff03ee
|
@ -0,0 +1,10 @@
|
|||
// REQUIRES: system-darwin
|
||||
|
||||
// Ensure that we never pick a version that's based on the SDK that's newer than
|
||||
// the system version:
|
||||
// RUN: rm -rf %t/SDKs/MacOSX10.99.99.sdk
|
||||
// RUN: mkdir -p %t/SDKs/MacOSX10.99.99.sdk
|
||||
// RUN: %clang -target x86_64-apple-darwin -isysroot %t/SDKs/MacOSX10.99.99.sdk %s -### 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-MACOSX-SYSTEM-VERSION %s
|
||||
|
||||
// CHECK-MACOSX-SYSTEM-VERSION-NOT: 10.99.99"
|
|
@ -74,12 +74,3 @@
|
|||
// CHECK-MACOSX: "-triple" "x86_64-apple-macosx10.10.0"
|
||||
// CHECK-MACOSX: ld
|
||||
// CHECK-MACOSX: "-macosx_version_min" "10.10.0"
|
||||
|
||||
// Ensure that we never pick a version that's based on the SDK that's newer than
|
||||
// the system version:
|
||||
// RUN: rm -rf %t/SDKs/MacOSX10.99.99.sdk
|
||||
// RUN: mkdir -p %t/SDKs/MacOSX10.99.99.sdk
|
||||
// RUN: %clang -target x86_64-apple-darwin -isysroot %t/SDKs/MacOSX10.99.99.sdk %s -### 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=CHECK-MACOSX-SYSTEM-VERSION %s
|
||||
|
||||
// CHECK-MACOSX-SYSTEM-VERSION-NOT: 10.99.99"
|
||||
|
|
Loading…
Reference in New Issue