Skip to content

Commit 9a71bfe

Browse files
authored
Merge pull request #33360 from compnerd/stable-abi-check
test: use the `swift_only_stable_abi` feature instead of adhoc checks
2 parents 0f8c96e + 6e62444 commit 9a71bfe

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

test/IRGen/class_update_callback_without_fixed_layout.sil

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@
55
// RUN: %target-swift-frontend -I %t -emit-ir -enable-library-evolution -O %s -target %target-pre-stable-abi-triple
66

77
// REQUIRES: objc_interop
8-
// UNSUPPORTED: OS=iosmac
9-
// UNSUPPORTED: CPU=arm64 || CPU=arm64e
8+
// UNSUPPORTED: swift_only_stable_abi
109

1110
// With the old deployment target, these classes use the 'singleton' metadata
1211
// initialization pattern. The class is not statically visible to Objective-C,

test/IRGen/eager-class-initialization.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
// RUN: %target-swift-frontend(mock-sdk: %clang-importer-sdk) %s -emit-ir -target %target-pre-stable-abi-triple | %FileCheck %s -DINT=i%target-ptrsize --check-prefix=CHECK --check-prefix=CHECK-OLD
44

55
// REQUIRES: objc_interop
6-
// UNSUPPORTED: OS=iosmac
7-
// UNSUPPORTED: CPU=arm64 || CPU=arm64e
6+
// UNSUPPORTED: swift_only_stable_abi
87

98
// See also eager-class-initialization-stable-abi.swift, for the stable ABI
109
// deployment target test.

test/decl/protocol/conforms/nscoding.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
// RUN: %FileCheck --check-prefix=NEGATIVE %s < %t/old.ast
99

1010
// REQUIRES: objc_interop
11-
// UNSUPPORTED: CPU=arm64e
11+
// UNSUPPORTED: swift_only_stable_abi
1212

1313
// See also nscoding_stable_abi.swift, for the stable ABI deployment
1414
// target test.

0 commit comments

Comments
 (0)