Skip to content

Commit 7a32caf

Browse files
authored
[5.9] tsan-ignores-arc-locks.swift: post process test binary on Darwin (#66346)
This allows the `DYLD_LIBRARY_PATH` override to work as expected and avoid crashes when running. *Scope:* change in a Swift validation test *Issue:* rdar://110272079 *Risk:* Low -- other standard library tests are already using the same post process step *Testing:* execute the toolchain PR job to exercise this test (cherry picked from commit 44a4097, #66308)
1 parent 94d8fac commit 7a32caf

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 -target %sanitizers-target-triple -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)