Skip to content

Commit d19d165

Browse files
authored
Merge pull request #61037 from apple/fix-tests-on-5.7.0
[5.7.0] Cherry-pick two test commits
2 parents d2a90f5 + d9a485f commit d19d165

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

test/Distributed/SIL/distributed_actor_default_deinit_sil.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
// REQUIRES: concurrency
55
// REQUIRES: distributed
66

7+
// FIXME(distributed): test fails on optimized build: OSS - Swift (Tools Opt+No Assert, Stdlib Opt+DebInfo, Test Simulator) - macOS
8+
// REQUIRES: radar97074020
9+
710
import Distributed
811
import FakeDistributedActorSystems
912

test/StringProcessing/Parse/forward-slash-regex-skipping-allowed.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,10 @@
88

99
// Make sure we can skip in all of the below cases.
1010

11-
// We don't appear to output a stats entry when it is 0.
12-
// CHECK-NOT: {{"Parse.NumFunctionsParsed"}}
11+
// The printing implementation differs in asserts and no-asserts builds, it will
12+
// either print `"Parse.NumFunctionsParsed" 0` or not print it at all. Make sure
13+
// we don't output any non-zero value.
14+
// CHECK-NOT: {{"Parse.NumFunctionsParsed" [^0]}}
1315

1416
// Balanced `{}`, so okay.
1517
func a() { / {}/ }

0 commit comments

Comments
 (0)