Skip to content

Commit 0e228d9

Browse files
committed
Fixup IRGen Tests on AS Hosts
1 parent 1e3de35 commit 0e228d9

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

test/IRGen/fixed_class_initialization.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// RUN: %target-swift-frontend -target x86_64-apple-macosx10.14 -module-name main -emit-ir %s | %FileCheck --check-prefix=CHECK --check-prefix=NO_OPT_SELF %s
33

44
// REQUIRES: objc_interop
5-
// REQUIRES: OS=macosx
5+
// REQUIRES: OS=macosx && CPU=x86_64
66

77
class C {
88
var x: Int = 0

test/IRGen/macosx-sdk-version.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// RUN: %target-swift-frontend %s -target x86_64-apple-macosx10.14 -target-sdk-version 10.15.4 -emit-ir | %FileCheck %s
1+
// RUN: %target-swift-frontend %s -target %target-cpu-apple-macosx10.14 -target-sdk-version 10.15.4 -emit-ir | %FileCheck %s
22

33
// REQUIRES: OS=macosx
44

test/IRGen/opaque_result_type_availability.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// RUN: %target-swift-frontend -enable-implicit-dynamic -target x86_64-apple-macosx10.9 -Onone -emit-ir %s | %FileCheck --check-prefix=MAYBE-AVAILABLE %s
1+
// RUN: %target-swift-frontend -enable-implicit-dynamic -target %target-cpu-apple-macosx10.9 -Onone -emit-ir %s | %FileCheck --check-prefix=MAYBE-AVAILABLE %s
22
// RUN: %target-swift-frontend -enable-implicit-dynamic -target %target-cpu-apple-macosx10.15 -Onone -emit-ir %s | %FileCheck --check-prefix=ALWAYS-AVAILABLE %s
3-
// REQUIRES: OS=macosx
3+
// REQUIRES: OS=macosx && CPU=x86_64
44

55
protocol P {}
66
extension Int: P {}

0 commit comments

Comments
 (0)