Skip to content

Commit 94f8a05

Browse files
authored
Merge pull request swiftlang#84567 from RamonAsuncion/fix-test-env-distributed
[Test][Distributed] Convert VAR=value to env VAR=value for Lit shell
2 parents c4b2366 + a7cf3ec commit 94f8a05

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

test/Distributed/Runtime/distributed_actor_deinit.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// RUN: %empty-directory(%t)
22
// RUN: %target-build-swift -target %target-future-triple %import-libdispatch -parse-stdlib -parse-as-library -module-name=main %s -o %t/a.out
33
// RUN: %target-codesign %t/a.out
4-
// RUN: %env-SWIFT_IS_CURRENT_EXECUTOR_LEGACY_MODE_OVERRIDE=legacy %target-run %t/a.out | %FileCheck %s
4+
// RUN: env %env-SWIFT_IS_CURRENT_EXECUTOR_LEGACY_MODE_OVERRIDE=legacy %target-run %t/a.out | %FileCheck %s
55

66
// REQUIRES: libdispatch
77
// REQUIRES: executable_test

test/Distributed/Runtime/distributed_actor_remoteCall_accessibleFunctions.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -target %target-swift-6.0-abi-triple %S/../Inputs/FakeDistributedActorSystems.swift -plugin-path %swift-plugin-dir
33
// RUN: %target-build-swift -module-name ActorsFramework -target %target-swift-6.0-abi-triple -j2 -parse-as-library -I %t %s %S/../Inputs/FakeDistributedActorSystems.swift -plugin-path %swift-plugin-dir -o %t/a.out
44
// RUN: %target-codesign %t/a.out
5-
// RUN: %env-SWIFT_DUMP_ACCESSIBLE_FUNCTIONS=true %target-run %t/a.out 2>&1 | %FileCheck %s --color --dump-input=always
5+
// RUN: env %env-SWIFT_DUMP_ACCESSIBLE_FUNCTIONS=true %target-run %t/a.out 2>&1 | %FileCheck %s --color --dump-input=always
66

77
// REQUIRES: executable_test
88
// REQUIRES: concurrency

test/Distributed/Runtime/distributed_actor_remoteCall_accessibleFunctions_crossModule.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
// RUN: %target-codesign %t/%target-library-name(ResilientImplLib)
6868

6969
// Run and verify output
70-
// RUN: %env-SWIFT_DUMP_ACCESSIBLE_FUNCTIONS=true %target-run %t/a.out \
70+
// RUN: env %env-SWIFT_DUMP_ACCESSIBLE_FUNCTIONS=true %target-run %t/a.out \
7171
// RUN: %t/%target-library-name(FakeDistributedActorSystems) \
7272
// RUN: %t/%target-library-name(ResilientAPILib) \
7373
// RUN: %t/%target-library-name(ResilientImplLib) \

0 commit comments

Comments
 (0)