Skip to content

Commit 1869174

Browse files
authored
Harden new distributed_actor_protocol_call_resilient_lib test for lib search paths (#75561)
1 parent 4efb210 commit 1869174

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

test/Distributed/Runtime/distributed_actor_protocol_call_resilient_lib.swift

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,18 @@
5151
// RUN: -enable-library-evolution \
5252
// RUN: -o %t/a.out
5353

54+
// Sign the main binary and all libraries
5455
// RUN: %target-codesign %t/a.out
55-
// RUN: %target-run %t/a.out | %FileCheck %s
56+
// RUN: %target-codesign %t/%target-library-name(FakeDistributedActorSystems)
57+
// RUN: %target-codesign %t/%target-library-name(ResilientActorLib)
58+
// RUN: %target-codesign %t/%target-library-name(ResilientLib)
59+
60+
// Run and verify output
61+
// RUN: %target-run %t/a.out \
62+
// RUN: %t/%target-library-name(FakeDistributedActorSystems) \
63+
// RUN: %t/%target-library-name(ResilientActorLib) \
64+
// RUN: %t/%target-library-name(ResilientLib) \
65+
// RUN: | %FileCheck %s
5666

5767
// REQUIRES: executable_test
5868
// REQUIRES: concurrency

0 commit comments

Comments
 (0)