Skip to content

Commit f43883e

Browse files
authored
Merge pull request #14275 from gottesmm/swift-5.0-branch_rdar36916944
[5.0] Fix build by changing test to only run on macOS.
2 parents 8fe939f + a78fed1 commit f43883e

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)