Skip to content

Commit 864d159

Browse files
authored
Merge pull request #36269 from CodaFi/thread-arm
XFAIL TSAN Tests on AS Hosts
2 parents ffaf867 + 13920d8 commit 864d159

File tree

6 files changed

+15
-1
lines changed

6 files changed

+15
-1
lines changed

test/Sanitizers/tsan-emptyarraystorage.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// REQUIRES: foundation
77
// UNSUPPORTED: OS=tvos
88

9+
// rdar://problem/75006869
10+
// XFAIL: OS=macosx && CPU=arm64
11+
912
import Foundation
1013

1114
let sem = DispatchSemaphore(value: 0)

test/Sanitizers/tsan-libdispatch.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
// don't support TSan.
1010
// UNSUPPORTED: remote_run
1111

12+
// rdar://problem/75006869
13+
// XFAIL: OS=macosx && CPU=arm64
14+
1215
// Test ThreadSanitizer execution end-to-end with libdispatch.
1316

1417
import Dispatch

test/Sanitizers/tsan-norace-block-release.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// don't support TSan.
99
// UNSUPPORTED: remote_run
1010

11+
// rdar://problem/75006869
12+
// UNSUPPORTED: OS=macosx && CPU=arm64
13+
1114
// Test that we do not report a race on block release operation.
1215
import Dispatch
1316
#if canImport(Darwin)

test/Sanitizers/tsan-norace-deinit-run-time.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88
// don't support TSan.
99
// UNSUPPORTED: remote_run
1010

11+
// rdar://problem/75006869
12+
// XFAIL: OS=macosx && CPU=arm64
13+
1114
// Test that we do not report a race on deinit; the synchronization is guaranteed by runtime.
1215
import Dispatch
1316
#if canImport(Darwin)

test/Sanitizers/tsan-static-exclusivity.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
// don't support TSan.
66
// UNSUPPORTED: remote_run
77

8-
98
struct OtherStruct {
109
mutating
1110
func mutableTakingClosure(_ c: () -> Void) { }

test/Sanitizers/tsan.swift

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// UNSUPPORTED: OS=tvos
77
// UNSUPPORTED: CPU=powerpc64le
88

9+
// rdar://problem/75006869
10+
// XFAIL: OS=macosx && CPU=arm64
11+
912
// FIXME: This should be covered by "tsan_runtime"; older versions of Apple OSs
1013
// don't support TSan.
1114
// UNSUPPORTED: remote_run

0 commit comments

Comments
 (0)