mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-27 05:56:08 +00:00
[Clang] Fix DriverKit tests on Linux
Some new DriverKit tests were added in https://reviews.llvm.org/D121911, and unfortunately they fail on Linux build bots.
This commit is contained in:
parent
85f6b15ee5
commit
af845d7e43
@ -6,11 +6,11 @@
|
||||
// RUN: %clang -target x86_64-apple-driverkit19 -isysroot %t.sdk -mlinker-version=520 -### %t.o 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=MISSING-SDK-JSON-WORKAROUND %s
|
||||
|
||||
// RUN: %clang -target arm64-apple-driverkit19 -isysroot %S/Inputs/MacOSX10.14.sdk -mlinker-version=520 -### %t.o 2>&1 \
|
||||
// RUN: %clang -target arm64-apple-driverkit19 -isysroot %S/Inputs/MacOSX10.14.sdk -fuse-ld= -mlinker-version=520 -### %t.o 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=ARM64_NEW %s
|
||||
// RUN: %clang -target arm64-apple-driverkit19 -isysroot %S/Inputs/MacOSX10.14.sdk -mlinker-version=400 -### %t.o 2>&1 \
|
||||
// RUN: %clang -target arm64-apple-driverkit19 -isysroot %S/Inputs/MacOSX10.14.sdk -fuse-ld= -mlinker-version=400 -### %t.o 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=ARM64_OLD %s
|
||||
// RUN: %clang -target arm64e-apple-driverkit19 -isysroot %S/Inputs/MacOSX10.14.sdk -mlinker-version=520 -### %t.o 2>&1 \
|
||||
// RUN: %clang -target arm64e-apple-driverkit19 -isysroot %S/Inputs/MacOSX10.14.sdk -fuse-ld= -mlinker-version=520 -### %t.o 2>&1 \
|
||||
// RUN: | FileCheck --check-prefix=ARM64_NEW %s
|
||||
|
||||
// CHECK: "-platform_version" "driverkit" "10.15.0" "10.14"
|
||||
|
@ -185,7 +185,7 @@
|
||||
// LINK_TVOS_KEXT: libclang_rt.cc_kext_tvos.a
|
||||
// LINK_TVOS_KEXT: libclang_rt.tvos.a
|
||||
|
||||
// RUN: %clang -target x86-64-apple-driverkit19.0 -mlinker-version=400 -resource-dir=%S/Inputs/resource_dir -### %t.o 2> %t.log
|
||||
// RUN: %clang -target x86-64-apple-driverkit19.0 -fuse-ld= -mlinker-version=400 -resource-dir=%S/Inputs/resource_dir -### %t.o 2> %t.log
|
||||
// RUN: FileCheck -check-prefix=LINK_DRIVERKIT %s < %t.log
|
||||
// LINK_DRIVERKIT: {{ld(.exe)?"}}
|
||||
// LINK_DRIVERKIT: -driverkit_version_min
|
||||
|
Loading…
x
Reference in New Issue
Block a user