Skip to content

Commit 44a4097

Browse files
authored
tsan-ignores-arc-locks.swift: post process test binary on Darwin (#66308)
This allows the `DYLD_LIBRARY_PATH` override to work as expected and avoid crashes when running. Addresses rdar://108188149
1 parent 1d39add commit 44a4097

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

validation-test/Sanitizers/tsan-ignores-arc-locks.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
// RUN: %target-build-swift -sanitize=thread %s -o %t_binary
2+
// RUN: %target-codesign %t_binary
23
// RUN: %env-TSAN_OPTIONS=halt_on_error=1 %target-run %t_binary
34
// REQUIRES: executable_test
45
// REQUIRES: stress_test
@@ -7,8 +8,6 @@
78

89
// Check that TSan ignores the retain count update locks in the runtime.
910

10-
// REQUIRES: rdar108188149
11-
1211
import Foundation
1312

1413
public class Dummy {

0 commit comments

Comments
 (0)