mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
Fix up a few more tests that need the host library path
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
// RUN: %hardlink-or-copy(from: %swift_frontend_plain, to: %t/bin/swiftc)
|
||||
// RUN: %empty-directory(%t/lib/swift/clang/lib/darwin/)
|
||||
|
||||
// RUN: %t/bin/swiftc -driver-print-jobs -target x86_64-apple-macosx10.9 %S/../Inputs/empty.swift | %FileCheck -check-prefix CHECK -check-prefix CHECK-NO-RUNTIME %s
|
||||
// RUN: %host-library-env %t/bin/swiftc -driver-print-jobs -target x86_64-apple-macosx10.9 %S/../Inputs/empty.swift | %FileCheck -check-prefix CHECK -check-prefix CHECK-NO-RUNTIME %s
|
||||
|
||||
// RUN: touch %t/lib/swift/clang/lib/darwin/libclang_rt.osx.a %t/lib/swift/clang/lib/darwin/libclang_rt.ios.a %t/lib/swift/clang/lib/darwin/libclang_rt.iossim.a %t/lib/swift/clang/lib/darwin/libclang_rt.tvos.a %t/lib/swift/clang/lib/darwin/libclang_rt.tvossim.a %t/lib/swift/clang/lib/darwin/libclang_rt.watchos.a %t/lib/swift/clang/lib/darwin/libclang_rt.watchossim.a
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
// RUN: %empty-directory(%t/Toolchains/Test.xctoolchain/usr/bin)
|
||||
// RUN: %empty-directory(%t/Toolchains/Test.xctoolchain/usr/lib)
|
||||
// RUN: mv %t/usr/bin/swift %t/Toolchains/Test.xctoolchain/usr/bin/swift
|
||||
// RUN: %t/Toolchains/Test.xctoolchain/usr/bin/swift -repl -### | %FileCheck -check-prefix=LLDB %s
|
||||
// RUN: %host-library-env %t/Toolchains/Test.xctoolchain/usr/bin/swift -repl -### | %FileCheck -check-prefix=LLDB %s
|
||||
|
||||
// Clean up the test executable because hard links are expensive.
|
||||
// RUN: rm -rf %t/Toolchains/Test.xctoolchain/usr/bin/swift
|
||||
|
||||
Reference in New Issue
Block a user