Skip to content

Commit 0fd7e24

Browse files
committed
Tests: Add REQUIRES: CPU=x86_64 in a few Interop tests.
These tests fail when run locally on Apple Silicon Macs because they specify `-target x86_64-apple-macosx10.9` instead of `%target-cpu-apple-macosx10.9`. Tests that have architecture specific output should require that architecture.
1 parent 02e537f commit 0fd7e24

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

test/Interop/Cxx/class/constructors-copy-irgen-macosx.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
// RUN: %swift -module-name MySwift -target x86_64-apple-macosx10.9 -dump-clang-diagnostics -I %S/Inputs -enable-experimental-cxx-interop -emit-ir %s -parse-stdlib -parse-as-library -disable-legacy-type-info | %FileCheck %s -check-prefix=ITANIUM_X64
44

55
// REQUIRES: OS=macosx
6-
7-
// REQUIRES: CODEGENERATOR=X86
8-
// REQUIRES: CODEGENERATOR=ARM
6+
// REQUIRES: CPU=x86_64
97

108

119
import Constructors

test/Interop/Cxx/class/constructors-irgen-macosx.swift

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,7 @@
33
// RUN: %swift -module-name MySwift -target x86_64-apple-macosx10.9 -dump-clang-diagnostics -I %S/Inputs -enable-experimental-cxx-interop -emit-ir %s -parse-stdlib -parse-as-library -disable-legacy-type-info | %FileCheck %s -check-prefix=ITANIUM_X64
44

55
// REQUIRES: OS=macosx
6-
7-
// REQUIRES: CODEGENERATOR=X86
8-
// REQUIRES: CODEGENERATOR=ARM
6+
// REQUIRES: CPU=x86_64
97

108
import Constructors
119
import TypeClassification

0 commit comments

Comments
 (0)