Skip to content

Commit a78fed1

Browse files
committed
Fix build by changing test to only run on macOS.
The reason why this snuck through before is that we are not building asan on the public bots for simulators. I am going to look into tightening this up, but in the short term, lets get some green builds. rdar://36916944
1 parent 44f673b commit a78fed1

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/Executable/arc_36509461.swift

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
1-
// RUN: %empty-directory(%T)
2-
// RUN: %target-clang -x objective-c -c %S/Inputs/arc_36509461.m -o %T/arc_36509461.m.o
3-
// RUN: %target-swift-frontend -c -O -import-objc-header %S/Inputs/arc_36509461.h -sanitize=address %s -o %T/arc_36509461.swift.o
4-
// RUN: %target-build-swift %T/arc_36509461.m.o %T/arc_36509461.swift.o -sanitize=address -o %t
5-
// RUN: %t
1+
// RUN: %empty-directory(%t)
2+
// RUN: %target-clang -x objective-c -c %S/Inputs/arc_36509461.m -o %t/arc_36509461.m.o
3+
// RUN: %target-swift-frontend -c -O -import-objc-header %S/Inputs/arc_36509461.h -sanitize=address %s -o %t/arc_36509461.swift.o
4+
// RUN: %target-build-swift %t/arc_36509461.m.o %t/arc_36509461.swift.o -sanitize=address -o %t/arc_36509461
5+
// RUN: %target-run %t/arc_36509461
66

77
// REQUIRES: executable_test
88
// REQUIRES: asan_runtime
99
// REQUIRES: objc_interop
10+
// REQUIRES: OS=macosx
1011

1112
import Foundation
1213

0 commit comments

Comments
 (0)