From dc557b51f77eb61ab41bc47b39231c30d8f2f868 Mon Sep 17 00:00:00 2001 From: Duo Wang Date: Thu, 4 Aug 2022 10:36:13 -0700 Subject: [PATCH 1/3] fix missing test codesign --- .../distributed_actor_func_calls_remoteCall_bad_targets.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_bad_targets.swift b/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_bad_targets.swift index 040be9c4bc7d0..bdecda4df7be5 100644 --- a/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_bad_targets.swift +++ b/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_bad_targets.swift @@ -1,6 +1,7 @@ // RUN: %empty-directory(%t) // RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -disable-availability-checking %S/../Inputs/FakeDistributedActorSystems.swift // RUN: %target-build-swift -module-name main -Xfrontend -disable-availability-checking -j2 -parse-as-library -I %t %s %S/../Inputs/FakeDistributedActorSystems.swift -o %t/a.out +// RUN: %target-codesign %t/a.out // RUN: %target-run %t/a.out | %FileCheck %s --color // REQUIRES: executable_test From ac42292a7473288af5cf6b10f6d27014a86bce8d Mon Sep 17 00:00:00 2001 From: Kavon Farvardin Date: Mon, 19 Sep 2022 11:36:48 -0700 Subject: [PATCH 2/3] add missing code-signing step --- ...ted_actor_func_calls_remoteCall_remoteChanged_asyncness.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_remoteChanged_asyncness.swift b/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_remoteChanged_asyncness.swift index 629a0a5b86546..f8ea072ddc5fb 100644 --- a/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_remoteChanged_asyncness.swift +++ b/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_remoteChanged_asyncness.swift @@ -1,6 +1,7 @@ // RUN: %empty-directory(%t) // RUN: %target-swift-frontend-emit-module -emit-module-path %t/FakeDistributedActorSystems.swiftmodule -module-name FakeDistributedActorSystems -disable-availability-checking %S/../Inputs/FakeDistributedActorSystems.swift // RUN: %target-build-swift -module-name main -Xfrontend -disable-availability-checking -j2 -parse-as-library -I %t %s %S/../Inputs/FakeDistributedActorSystems.swift -o %t/a.out +// RUN: %target-codesign %t/a.out // RUN: %target-run %t/a.out | %FileCheck %s --color --dump-input=always // REQUIRES: executable_test From b05e647cd6a196345429f554e049e3c07737ac69 Mon Sep 17 00:00:00 2001 From: Kavon Farvardin Date: Mon, 19 Sep 2022 11:37:19 -0700 Subject: [PATCH 3/3] Revert "Merge pull request #61185 from kavon/disable-fancy-distactor-tests" This reverts commit 10514ebfe5dbb0e14b702df308fdab51846b1996, reversing changes made to 7980273d5345091eca6e1738a62fbaf56c6d06db. --- ...distributed_actor_func_calls_remoteCall_bad_targets.swift | 5 ----- ...actor_func_calls_remoteCall_remoteChanged_asyncness.swift | 5 ----- 2 files changed, 10 deletions(-) diff --git a/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_bad_targets.swift b/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_bad_targets.swift index bdecda4df7be5..cd1b5bdc2c8f6 100644 --- a/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_bad_targets.swift +++ b/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_bad_targets.swift @@ -15,11 +15,6 @@ // FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574 // UNSUPPORTED: OS=windows-msvc -// rdar://99714807 -// UNSUPPORTED: OS=ios -// UNSUPPORTED: OS=tvos -// UNSUPPORTED: OS=watchos - import Distributed import FakeDistributedActorSystems diff --git a/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_remoteChanged_asyncness.swift b/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_remoteChanged_asyncness.swift index f8ea072ddc5fb..ceb6d9f34d158 100644 --- a/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_remoteChanged_asyncness.swift +++ b/test/Distributed/Runtime/distributed_actor_func_calls_remoteCall_remoteChanged_asyncness.swift @@ -15,11 +15,6 @@ // FIXME(distributed): Distributed actors currently have some issues on windows, isRemote always returns false. rdar://82593574 // UNSUPPORTED: OS=windows-msvc -// rdar://99714807 -// UNSUPPORTED: OS=ios -// UNSUPPORTED: OS=tvos -// UNSUPPORTED: OS=watchos - import Distributed import FakeDistributedActorSystems