Skip to content

Commit 4cc9347

Browse files
authored
Merge pull request #8749 from apple/disable-lldb-repl-tests-aarch64
[6.0][Tests][REPL] Disable some REPL tests on aarch64 Linux.
2 parents 4a10921 + 7a14b63 commit 4cc9347

17 files changed

+51
-0
lines changed

lldb/test/Shell/SwiftREPL/Class.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Test that we can define and use a basic class.
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
// RUN: %lldb --repl < %s | FileCheck %s
58

69
class Bar {

lldb/test/Shell/SwiftREPL/ClosureScope.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Test that we can define and use variables in closure scopes in the REPL
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
// RUN: %lldb --repl < %s | FileCheck %s
58

69
print([1, 2, 3].map { x in x + 1 })

lldb/test/Shell/SwiftREPL/Dict.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Test that the dictionary data formatter works in the REPL.
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
// RUN: %lldb --repl < %s | FileCheck %s --check-prefix=DICT
58

69
// The dictionary order isn't deterministic, so print the dictionary

lldb/test/Shell/SwiftREPL/ErrorReturn.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
// Test that we can handle errors.
44
// REQUIRES: swift
55

6+
// rdar://127673408
7+
// UNSUPPORTED: system-linux && target-aarch64
8+
69
// RUN: %lldb --repl < %s | FileCheck %s
710

811
enum VagueProblem: Error { case SomethingWentWrong }

lldb/test/Shell/SwiftREPL/ExclusivityREPL.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Runtime checks for exclusive access should be enabled in the REPL.
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
// RUN: %lldb --repl < %s 2>&1 | FileCheck %s
58
// CHECK-DAG: modification requires exclusive access
69
// CHECK-DAG: Execution interrupted

lldb/test/Shell/SwiftREPL/ExistentialTypes.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Test that the we can resolve the dynamic type of existential correctly.
33
// REQUIRES: swift
44

5+
// rdar://127673408
6+
// UNSUPPORTED: system-linux && target-aarch64
7+
58
// RUN: %lldb --repl < %s | FileCheck %s
69

710
protocol A {}

lldb/test/Shell/SwiftREPL/GenericTypealias.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Test that generic typealiases are reconstructed correctly.
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
// RUN: %lldb --repl < %s | FileCheck %s
58

69
class Tinky<T> {

lldb/test/Shell/SwiftREPL/Generics.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Test that generics work in the REPL.
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
// RUN: %lldb --repl < %s | FileCheck %s
58

69
class Foo<T,U> {

lldb/test/Shell/SwiftREPL/LookupAfterImport.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// rdar://64040436
33
// REQUIRES: swift
44

5+
// rdar://127673408
6+
// UNSUPPORTED: system-linux && target-aarch64
7+
58
// RUN: rm -rf %t
69
// RUN: mkdir %t
710
// RUN: %target-swiftc -emit-library %S/Inputs/A.swift -module-name A -emit-module-path %t/A.swiftmodule -o %t/libA%target-shared-library-suffix

lldb/test/Shell/SwiftREPL/MetatypeRepl.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// REQUIRES: swift
22

3+
// rdar://127673408
4+
// UNSUPPORTED: system-linux && target-aarch64
5+
36
// RUN: %lldb --repl < %s | FileCheck %s
47

58
let x = [Double.self]

lldb/test/Shell/SwiftREPL/OpenClass.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %lldb --repl < %s 2>&1 | FileCheck %s
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
class Foo {
58
// Don't make any of these 'open'.
69
typealias X = Int

lldb/test/Shell/SwiftREPL/Optional.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %lldb --repl < %s | FileCheck %s
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
enum Patatino {
58
case first
69
case second

lldb/test/Shell/SwiftREPL/OptionalUnowned.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// REQUIRES: swift
22

3+
// rdar://127673408
4+
// UNSUPPORTED: system-linux && target-aarch64
5+
36
// RUN: %lldb --repl < %s | FileCheck %s
47

58
class C

lldb/test/Shell/SwiftREPL/RecursiveClass.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Test that recursive class instances work in the REPL.
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
// RUN: %lldb --repl < %s | FileCheck %s
58

69
class Foo {

lldb/test/Shell/SwiftREPL/SimpleExpressions.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
// Note: All of this should work on all supported platforms.
33
// REQUIRES: swift
44

5+
// rdar://127673408
6+
// UNSUPPORTED: system-linux && target-aarch64
7+
58
// RUN: %lldb --repl < %s | FileCheck %s
69

710
type(of: 1)

lldb/test/Shell/SwiftREPL/Subclassing.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// Test that subclassing works in the repl.
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
// RUN: %lldb --repl < %s | FileCheck %s
58

69
class A {init(a: Int) {}}

lldb/test/Shell/SwiftREPL/enum-singlecase.test

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
// RUN: %lldb --repl < %s 2>&1 | FileCheck %s
22
// REQUIRES: swift
33

4+
// rdar://127673408
5+
// UNSUPPORTED: system-linux && target-aarch64
6+
47
enum Foo: String {
58
case patatino
69
}

0 commit comments

Comments
 (0)