Skip to content

Commit 42a3da2

Browse files
committed
[test] Mark failing reflection tests XFAIL.
See SR-12893. swift-reflection-dump does not properly handle offsets in ELF executable images that, when interpreted as vaddrs, belong in segments part of the image. This just empirically XFAIL's the unit tests that are crashing or failing, even though the other tests are just happening to pass anyway. There's no clear workaround; disable the expected failures for the moment.
1 parent 9afad73 commit 42a3da2

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

test/Reflection/box_descriptors.sil

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
// SR-10758
66
// UNSUPPORTED: linux
77

8+
// SR-12893
9+
// XFAIL: openbsd
10+
811
sil_stage canonical
912

1013
import Builtin

test/Reflection/capture_descriptors.sil

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11

22
// REQUIRES: no_asan
3+
4+
// SR-12893
5+
// XFAIL: openbsd
6+
37
// RUN: %empty-directory(%t)
48
// RUN: %target-build-swift %s -emit-module -emit-library -module-name capture_descriptors -o %t/capture_descriptors%{target-shared-library-suffix} -L%t/../../.. -lBlocksRuntime
59
// RUN: %target-swift-reflection-dump -binary-filename %t/capture_descriptors%{target-shared-library-suffix} | %FileCheck %s

test/Reflection/typeref_decoding_imported.swift

+3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// XFAIL: OS=windows-msvc
22

3+
// SR-12893
4+
// XFAIL: openbsd
5+
36
// UNSUPPORTED: CPU=arm64e
47

58
// RUN: %empty-directory(%t)

0 commit comments

Comments
 (0)