diff --git a/test/Distributed/SIL/distributed_actor_default_deinit_sil.swift b/test/Distributed/SIL/distributed_actor_default_deinit_sil.swift index 00ef1fa50ec4f..e912acb492813 100644 --- a/test/Distributed/SIL/distributed_actor_default_deinit_sil.swift +++ b/test/Distributed/SIL/distributed_actor_default_deinit_sil.swift @@ -4,6 +4,9 @@ // REQUIRES: concurrency // REQUIRES: distributed +// FIXME(distributed): test fails on optimized build: OSS - Swift (Tools Opt+No Assert, Stdlib Opt+DebInfo, Test Simulator) - macOS +// REQUIRES: radar97074020 + import Distributed import FakeDistributedActorSystems diff --git a/test/StringProcessing/Parse/forward-slash-regex-skipping-allowed.swift b/test/StringProcessing/Parse/forward-slash-regex-skipping-allowed.swift index d6ba0a9d6553d..81bb00e06638f 100644 --- a/test/StringProcessing/Parse/forward-slash-regex-skipping-allowed.swift +++ b/test/StringProcessing/Parse/forward-slash-regex-skipping-allowed.swift @@ -8,8 +8,10 @@ // Make sure we can skip in all of the below cases. -// We don't appear to output a stats entry when it is 0. -// CHECK-NOT: {{"Parse.NumFunctionsParsed"}} +// The printing implementation differs in asserts and no-asserts builds, it will +// either print `"Parse.NumFunctionsParsed" 0` or not print it at all. Make sure +// we don't output any non-zero value. +// CHECK-NOT: {{"Parse.NumFunctionsParsed" [^0]}} // Balanced `{}`, so okay. func a() { / {}/ }