Skip to content

Commit d72cc2c

Browse files
authored
Merge pull request #66879 from felipepiovezan/felipe/disable_watchos_tests
[DebugInfo] Disable failing tests on watchOS
2 parents 12f01ce + dc60c07 commit d72cc2c

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

test/IRGen/debug_fragment_merge.sil

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
// RUN: %target-swift-frontend -disable-availability-checking -primary-file %s -emit-ir -disable-llvm-optzns -O -g | %FileCheck %s
22

3+
// Checking the below on 32 bit architectures would be cumbersome: each
4+
// fragment is 32 bits long, which changes the number of checks as well as the
5+
// arithmethic on the bounds of each fragment.
6+
// UNSUPPORTED: OS=watchos
7+
38
// CHECK-DAG: llvm.dbg.value{{.*}} metadata ![[VAR:[0-9]+]], metadata !DIExpression(DW_OP_LLVM_fragment, 192, 64){{.*}} !dbg ![[LOC1:[0-9]+]]
49
// CHECK-DAG: llvm.dbg.value{{.*}} metadata ![[VAR]], metadata !DIExpression(DW_OP_LLVM_fragment, 128, 64){{.*}} !dbg ![[LOC1]]
510
// CHECK-DAG: llvm.dbg.value{{.*}} metadata ![[VAR]], metadata !DIExpression(DW_OP_LLVM_fragment, 64, 64){{.*}} !dbg ![[LOC1]]

test/IRGen/debug_fragment_merge.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// RUN: %target-swift-frontend -disable-availability-checking -primary-file %s -emit-sil -O -g | %FileCheck %s --check-prefix CHECK-SIL
22
// RUN: %target-swift-frontend -disable-availability-checking -primary-file %s -emit-ir -disable-llvm-optzns -O -g | %FileCheck %s
33

4+
// UNSUPPORTED: OS=watchos
5+
46
protocol External {
57
func use(str: String);
68
func decode<T>(_: T.Type) -> T

0 commit comments

Comments
 (0)