Skip to content

Commit 9df349e

Browse files
committed
test: adjust Runtime Paths test for unified builds
When building the toolchain in unified mode, we fail to search for headers and libraries. Adjust the invocation to account for the layout differences.
1 parent e69a796 commit 9df349e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/Runtime/Paths.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
// RUN: touch %t/swift-root/libexec/swift/Foo.exe
66
// RUN: touch %t/swift-root/bin/Foo.exe
77

8-
// RUN: %target-clang %s -std=c++11 -I %swift_src_root/include -I %swift_src_root/stdlib/public/SwiftShims -I %clang-include-dir -isysroot %sdk -L%swift_obj_root/lib/swift/%target-sdk-name/%target-arch -lswiftCore -o %t/paths-test
8+
// RUN: %target-clang %s -std=c++11 -I %swift_src_root/include -I %swift_obj_root/include -I %swift_src_root/stdlib/public/SwiftShims -I %clang-include-dir -isysroot %sdk -L%swift_obj_root/lib/swift/%target-sdk-name/%target-arch -L%llvm_obj_root/lib/swift/%target-sdk-name/%target-arch -lswiftCore -o %t/paths-test
99
// RUN: %target-codesign %t/paths-test
1010
// RUN: %target-run %t/paths-test | %FileCheck %s
1111
// RUN: env %env-SWIFT_ROOT=%t/swift-root %target-run %t/paths-test | %FileCheck %s --check-prefix CHECK-FR

0 commit comments

Comments
 (0)