Skip to content

[6.0][Tests][REPL] Disable some REPL tests on aarch64 Linux. #8749

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/Class.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Test that we can define and use a basic class.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

class Bar {
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/ClosureScope.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Test that we can define and use variables in closure scopes in the REPL
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

print([1, 2, 3].map { x in x + 1 })
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/Dict.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Test that the dictionary data formatter works in the REPL.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s --check-prefix=DICT

// The dictionary order isn't deterministic, so print the dictionary
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/ErrorReturn.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
// Test that we can handle errors.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

enum VagueProblem: Error { case SomethingWentWrong }
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/ExclusivityREPL.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Runtime checks for exclusive access should be enabled in the REPL.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s 2>&1 | FileCheck %s
// CHECK-DAG: modification requires exclusive access
// CHECK-DAG: Execution interrupted
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/ExistentialTypes.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// Test that the we can resolve the dynamic type of existential correctly.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

protocol A {}
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/GenericTypealias.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Test that generic typealiases are reconstructed correctly.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

class Tinky<T> {
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/Generics.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Test that generics work in the REPL.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

class Foo<T,U> {
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/LookupAfterImport.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// rdar://64040436
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: rm -rf %t
// RUN: mkdir %t
// 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
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/MetatypeRepl.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

let x = [Double.self]
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/OpenClass.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// RUN: %lldb --repl < %s 2>&1 | FileCheck %s
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

class Foo {
// Don't make any of these 'open'.
typealias X = Int
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/Optional.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// RUN: %lldb --repl < %s | FileCheck %s
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

enum Patatino {
case first
case second
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/OptionalUnowned.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

class C
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/RecursiveClass.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Test that recursive class instances work in the REPL.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

class Foo {
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/SimpleExpressions.test
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
// Note: All of this should work on all supported platforms.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

type(of: 1)
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/Subclassing.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// Test that subclassing works in the repl.
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

// RUN: %lldb --repl < %s | FileCheck %s

class A {init(a: Int) {}}
Expand Down
3 changes: 3 additions & 0 deletions lldb/test/Shell/SwiftREPL/enum-singlecase.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
// RUN: %lldb --repl < %s 2>&1 | FileCheck %s
// REQUIRES: swift

// rdar://127673408
// UNSUPPORTED: system-linux && target-aarch64

enum Foo: String {
case patatino
}
Expand Down