Skip to content

Commit 84ea2a9

Browse files
committed
SR-13362: no baseline is available for the standard library on ASi
The standard library on non-Intel targets get compared to the baseline from the Intel targets which is not guaranteed to be identical. Mark the checks as expected failures on non-x86_64 targets. Although this is entirely unsatisfying, it allows progress in the short term.
1 parent a422bfb commit 84ea2a9

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

test/api-digester/stability-stdlib-abi-with-asserts.test

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717

1818
// REQUIRES: OS=macosx
1919
// REQUIRES: swift_stdlib_asserts
20+
21+
// SR-13362
22+
// This currently fails on non-Intel architectures due to no baseline being
23+
// available and it is not possible to filter across architectures in the
24+
// output.
25+
// XFAIL: CPU=arm64 || CPU=arm64e
26+
2027
// RUN: %empty-directory(%t.tmp)
2128
// mkdir %t.tmp/module-cache && mkdir %t.tmp/dummy.sdk
2229
// RUN: %api-digester -diagnose-sdk -module Swift -o %t.tmp/changes.txt -module-cache-path %t.tmp/module-cache -sdk %t.tmp/dummy.sdk -abi -avoid-location

test/api-digester/stability-stdlib-source.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
// REQUIRES: OS=macosx
2+
3+
// SR-13362
4+
// This currently fails on non-Intel architectures due to no baseline being
5+
// available and it is not possible to filter across architectures in the
6+
// output.
7+
// XFAIL: CPU=arm64 || CPU=arm64e
8+
29
// RUN: %empty-directory(%t.tmp)
310
// mkdir %t.tmp/module-cache && mkdir %t.tmp/dummy.sdk
411
// RUN: %api-digester -diagnose-sdk -module Swift -o %t.tmp/changes.txt -module-cache-path %t.tmp/module-cache -sdk %t.tmp/dummy.sdk -avoid-location

0 commit comments

Comments
 (0)