Skip to content

Commit 35ed6f6

Browse files
committed
Fix up a few more tests that need the host library path
1 parent fc501f9 commit 35ed6f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/Driver/linker-clang_rt.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
// RUN: %hardlink-or-copy(from: %swift_frontend_plain, to: %t/bin/swiftc)
1111
// RUN: %empty-directory(%t/lib/swift/clang/lib/darwin/)
1212

13-
// 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
13+
// 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
1414

1515
// 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
1616

test/Driver/options-repl-darwin.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
// RUN: %empty-directory(%t/Toolchains/Test.xctoolchain/usr/bin)
2020
// RUN: %empty-directory(%t/Toolchains/Test.xctoolchain/usr/lib)
2121
// RUN: mv %t/usr/bin/swift %t/Toolchains/Test.xctoolchain/usr/bin/swift
22-
// RUN: %t/Toolchains/Test.xctoolchain/usr/bin/swift -repl -### | %FileCheck -check-prefix=LLDB %s
22+
// RUN: %host-library-env %t/Toolchains/Test.xctoolchain/usr/bin/swift -repl -### | %FileCheck -check-prefix=LLDB %s
2323

2424
// Clean up the test executable because hard links are expensive.
2525
// RUN: rm -rf %t/Toolchains/Test.xctoolchain/usr/bin/swift

0 commit comments

Comments
 (0)