Skip to content

Commit 7bc4da3

Browse files
committed
[NFC] Factor out actor isolation inference tests into subdirectory
1 parent 52db275 commit 7bc4da3

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/Concurrency/global_actor_inference.swift renamed to test/Concurrency/ActorIsolationInference/global_actor.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// RUN: %empty-directory(%t)
22

3-
// RUN: %target-swift-frontend -emit-module -emit-module-path %t/other_global_actor_inference.swiftmodule -module-name other_global_actor_inference -strict-concurrency=complete %S/Inputs/other_global_actor_inference.swift -enable-upcoming-feature GlobalActorIsolatedTypesUsability
3+
// RUN: %target-swift-frontend -emit-module -emit-module-path %t/other_global_actor.swiftmodule -module-name other_global_actor -strict-concurrency=complete %S/Inputs/other_global_actor.swift -enable-upcoming-feature GlobalActorIsolatedTypesUsability
44
// RUN: %target-swift-frontend -I %t -disable-availability-checking %s -emit-sil -o /dev/null -verify -verify-additional-prefix minimal-targeted- -enable-upcoming-feature GlobalActorIsolatedTypesUsability
55
// RUN: %target-swift-frontend -I %t -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=targeted -verify-additional-prefix minimal-targeted- -enable-upcoming-feature GlobalActorIsolatedTypesUsability
66
// RUN: %target-swift-frontend -I %t -disable-availability-checking %s -emit-sil -o /dev/null -verify -strict-concurrency=complete -verify-additional-prefix complete-tns- -enable-upcoming-feature GlobalActorIsolatedTypesUsability
@@ -10,7 +10,7 @@
1010
// REQUIRES: swift_feature_GlobalActorIsolatedTypesUsability
1111
// REQUIRES: swift_feature_RegionBasedIsolation
1212

13-
import other_global_actor_inference
13+
import other_global_actor
1414

1515
actor SomeActor { }
1616

test/Concurrency/global_actor_inference_swift6.swift renamed to test/Concurrency/ActorIsolationInference/global_actor_swift6.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// RUN: %empty-directory(%t)
22

3-
// RUN: %target-swift-frontend -swift-version 6 -emit-module -emit-module-path %t/other_global_actor_inference.swiftmodule -module-name other_global_actor_inference -strict-concurrency=complete %S/Inputs/other_global_actor_inference.swift
3+
// RUN: %target-swift-frontend -swift-version 6 -emit-module -emit-module-path %t/other_global_actor.swiftmodule -module-name other_global_actor -strict-concurrency=complete %S/Inputs/other_global_actor.swift
44

55
// RUN: %target-swift-frontend -swift-version 6 -I %t -disable-availability-checking %s -emit-sil -o /dev/null -verify
66

77
// REQUIRES: concurrency
88

9-
import other_global_actor_inference
9+
import other_global_actor
1010

1111
actor SomeActor { }
1212

0 commit comments

Comments
 (0)