Skip to content

Commit 8dfff8c

Browse files
authored
Merge pull request #82996 from xymus/cdecl-fix-missing-dylib
Tests: Fix missing dylib on device in `cdecl_implementation_run.swift`
2 parents dff9fdd + 3cfd3f9 commit 8dfff8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/Interpreter/cdecl_implementation_run.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
// RUN: -I %clang-include-dir -Werror -isysroot %sdk \
1616
// RUN: -I %t -l Lib -L %t %target-rpath(%t)
1717
// RUN: %target-codesign %t/a.out
18-
// RUN: %target-run %t/a.out > %t/run.log
18+
// RUN: %target-run %t/a.out %t/%target-library-name(Lib) > %t/run.log
1919
// RUN: %FileCheck %t/Client.c --check-prefix=PRINTS --input-file %t/run.log
2020

2121
/// Build a Swift client against cdecl.h.
2222
// RUN: %target-build-swift %t/Client.swift -o %t/a.out \
2323
// RUN: -I %t -l Lib -L %t %target-rpath(%t)
2424
// RUN: %target-codesign %t/a.out
25-
// RUN: %target-run %t/a.out > %t/run.log
25+
// RUN: %target-run %t/a.out %t/%target-library-name(Lib) > %t/run.log
2626
// RUN: %FileCheck %t/Client.swift --check-prefix=PRINTS --input-file %t/run.log
2727

2828
// REQUIRES: swift_feature_CDecl

0 commit comments

Comments
 (0)