Skip to content

Commit 0a081f8

Browse files
authored
Merge pull request swiftlang#78748 from kubamracek/embedded-centralize-test-os-filter
[embedded] Centralize the OS/target requirements on (most) Embedded Swift tests
2 parents 2e92644 + d8c0c25 commit 0a081f8

File tree

82 files changed

+11
-81
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+11
-81
lines changed

test/embedded/array-builtins-exec.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// REQUIRES: swift_in_compiler
77
// REQUIRES: executable_test
88
// REQUIRES: optimized_stdlib
9-
// REQUIRES: OS=macosx || OS=linux-gnu
109
// REQUIRES: swift_feature_Embedded
1110

1211
import Builtin

test/embedded/array-zero-size-struct.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
// REQUIRES: swift_in_compiler
44
// REQUIRES: optimized_stdlib
5-
// REQUIRES: OS=macosx || OS=linux-gnu
65
// REQUIRES: swift_feature_Embedded
76

87
public struct MyStruct {

test/embedded/arrays-enums.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// REQUIRES: swift_in_compiler
44
// REQUIRES: executable_test
55
// REQUIRES: optimized_stdlib
6-
// REQUIRES: OS=macosx || OS=linux-gnu
76
// REQUIRES: swift_feature_Embedded
87

98
enum Node {

test/embedded/class-func.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// REQUIRES: swift_in_compiler
44
// REQUIRES: executable_test
55
// REQUIRES: optimized_stdlib
6-
// REQUIRES: OS=macosx || OS=linux-gnu
76
// REQUIRES: swift_feature_Embedded
87

98
@main

test/embedded/classes-arrays.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// REQUIRES: swift_in_compiler
77
// REQUIRES: executable_test
88
// REQUIRES: optimized_stdlib
9-
// REQUIRES: OS=macosx || OS=linux-gnu
109
// REQUIRES: swift_feature_Embedded
1110

1211
class MyClass {

test/embedded/classes-indirect-return.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
// RUN: %target-swift-emit-sil %s -enable-experimental-feature Embedded -wmo | %FileCheck %s
22

33
// REQUIRES: swift_in_compiler
4-
// REQUIRES: OS=macosx || OS=linux-gnu
54
// REQUIRES: swift_feature_Embedded
65

76
// CHECK: sil @$e4main1XC3fooxyFSi_Tg5 : $@convention(method) (@guaranteed X<Int>) -> Int {

test/embedded/classes-optional.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// REQUIRES: swift_in_compiler
77
// REQUIRES: executable_test
88
// REQUIRES: optimized_stdlib
9-
// REQUIRES: OS=macosx || OS=linux-gnu
109
// REQUIRES: swift_feature_Embedded
1110

1211
class Foo {

test/embedded/classes-stack-promotion.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
// REQUIRES: swift_in_compiler
88
// REQUIRES: executable_test
99
// REQUIRES: optimized_stdlib
10-
// REQUIRES: OS=macosx || OS=linux-gnu
1110
// REQUIRES: swift_feature_Embedded
1211

1312
public class MyClass {

test/embedded/classes.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// REQUIRES: swift_in_compiler
77
// REQUIRES: executable_test
88
// REQUIRES: optimized_stdlib
9-
// REQUIRES: OS=macosx || OS=linux-gnu
109
// REQUIRES: swift_feature_Embedded
1110

1211
class MyClass {

test/embedded/closures-heap.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
// REQUIRES: swift_in_compiler
77
// REQUIRES: executable_test
88
// REQUIRES: optimized_stdlib
9-
// REQUIRES: OS=macosx || OS=linux-gnu
109
// REQUIRES: swift_feature_Embedded
1110

1211
public class MyClass {

0 commit comments

Comments
 (0)