Skip to content

Commit af0d4ef

Browse files
committed
test: require ios when using ios target
1 parent 741d1bf commit af0d4ef

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/Sema/spi-available-local.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: OS=ios
12
// RUN: %empty-directory(%t)
23
// RUN: not %target-swift-frontend -target %target-cpu-apple-macosx11.9 -parse-as-library %s -typecheck -library-level=api >& %t/macos.txt
34
// RUN: %FileCheck %s < %t/macos.txt

test/Sema/spi-available-swift-module.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: OS=ios
12
// RUN: %empty-directory(%t)
23
// RUN: %empty-directory(%t/macos)
34
// RUN: %empty-directory(%t/ios)

0 commit comments

Comments
 (0)