Skip to content

Commit 08d8278

Browse files
committed
[Distributed] enable additional testing in library evolution mode
We had a number of problems either "only in" or "only without" library evolution and protocols, so in order to increase the test coverage, run a few of the crucial tests in both modes.
1 parent 362783c commit 08d8278

4 files changed

+20
-0
lines changed

test/Distributed/Runtime/distributed_actor_localSystem_distributedProtocol.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
// RUN: %target-codesign %t/a.out
44
// RUN: %target-run %t/a.out | %FileCheck %s --color
55

6+
// Run again with library evolution:
7+
// RUN: %target-build-swift -module-name main -j2 -parse-as-library -enable-library-evolution -I %t %s -plugin-path %swift-plugin-dir -o %t/evo.out
8+
// RUN: %target-codesign %t/evo.out
9+
// RUN: %target-run %t/evo.out | %FileCheck %s --color
10+
611
// REQUIRES: executable_test
712
// REQUIRES: concurrency
813
// REQUIRES: distributed

test/Distributed/Runtime/distributed_actor_localSystem_distributedProtocol_variable.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
// RUN: %target-codesign %t/a.out
44
// RUN: %target-run %t/a.out | %FileCheck %s --color
55

6+
// Run again with library evolution:
7+
// RUN: %target-build-swift -module-name main -j2 -parse-as-library -enable-library-evolution -I %t %s -plugin-path %swift-plugin-dir -o %t/evo.out
8+
// RUN: %target-codesign %t/evo.out
9+
// RUN: %target-run %t/evo.out | %FileCheck %s --color
10+
611
// REQUIRES: executable_test
712
// REQUIRES: concurrency
813
// REQUIRES: distributed

test/Distributed/Runtime/distributed_actor_localSystem_generic_system.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
// RUN: %target-codesign %t/a.out
44
// RUN: %target-run %t/a.out | %FileCheck %s --color
55

6+
// Run again with library evolution:
7+
// RUN: %target-build-swift -module-name main -j2 -parse-as-library -enable-library-evolution -I %t %s -plugin-path %swift-plugin-dir -o %t/evo.out
8+
// RUN: %target-codesign %t/a-evo.out
9+
// RUN: %target-run %t/a-evo.out | %FileCheck %s --color
10+
611
// REQUIRES: executable_test
712
// REQUIRES: concurrency
813
// REQUIRES: distributed

test/Distributed/Runtime/distributed_actor_localSystem_manual_conformance.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
// RUN: %target-codesign %t/a.out
44
// RUN: %target-run %t/a.out | %FileCheck %s --color
55

6+
// Run again with library evolution:
7+
// RUN: %target-build-swift -module-name main -j2 -parse-as-library -enable-library-evolution -I %t %s -plugin-path %swift-plugin-dir -o %t/evo.out
8+
// RUN: %target-codesign %t/evo.out
9+
// RUN: %target-run %t/evo.out | %FileCheck %s --color
10+
611
// REQUIRES: executable_test
712
// REQUIRES: concurrency
813
// REQUIRES: distributed

0 commit comments

Comments
 (0)