Skip to content

Commit 35b3971

Browse files
authored
Merge pull request #70471 from atrick/embedded-target
Fix embedded tests: REQUIRES: CODEGENERATOR=ARM
2 parents 2b2beb6 + 9230b49 commit 35b3971

File tree

5 files changed

+6
-0
lines changed

5 files changed

+6
-0
lines changed

test/embedded/fragile-reference.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// RUN: %target-swift-frontend -target arm64-apple-none-macho -module-name main -parse-as-library -Xcc -D__MACH__ -Xcc -D__arm64__ -Xcc -D__APPLE__ -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
33
// REQUIRES: swift_in_compiler
44
// REQUIRES: OS=macosx || OS=linux-gnu
5+
// REQUIRES: CODEGENERATOR=ARM
6+
57
@main
68
public struct Application {
79
public static func main() {

test/embedded/globals.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-swift-emit-ir -target armv7-apple-none-macho -parse-stdlib -module-name Swift %s -enable-experimental-feature Embedded -wmo -parse-as-library -O | %FileCheck %s
33

44
// REQUIRES: swift_in_compiler
5+
// REQUIRES: CODEGENERATOR=ARM
56

67
precedencegroup AssignmentPrecedence { assignment: true }
78
public typealias IntegerLiteralType = Int

test/embedded/ouroboros-bug.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
// REQUIRES: swift_in_compiler
1010
// REQUIRES: optimized_stdlib
11+
// REQUIRES: CODEGENERATOR=ARM
1112

1213
public func test() {}
1314
test()

test/embedded/stdlib-basic.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
// RUN: %target-swift-frontend -target arm64-apple-none-macho -Xcc -D__MACH__ -Xcc -D__arm64__ -Xcc -D__APPLE__ -emit-ir %s -enable-experimental-feature Embedded | %FileCheck %s
33

44
// REQUIRES: swift_in_compiler
5+
// REQUIRES: CODEGENERATOR=ARM
56

67
public func bool() -> Bool {
78
return true

test/embedded/stdlib-types.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
// REQUIRES: swift_in_compiler
55
// REQUIRES: optimized_stdlib
6+
// REQUIRES: CODEGENERATOR=ARM
67

78
class MyClass {}
89

0 commit comments

Comments
 (0)