[clang-repl][AIX][zOS] Disable clang/test/Interpreter tests on AIX and zOS (NFC) (#153587)
This commit is contained in:
parent
0561ede6c6
commit
a44bd1568c
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit
|
||||
// UNSUPPORTED: system-aix
|
||||
//
|
||||
// RUN: cat %s | clang-repl | FileCheck %s
|
||||
// RUN: cat %s | clang-repl -Xcc -O2 | FileCheck %s
|
||||
|
@ -1,4 +1,3 @@
|
||||
// UNSUPPORTED: system-aix
|
||||
// RUN: cat %s | clang-repl 2>&1 | FileCheck %s
|
||||
%foobar
|
||||
// CHECK: Invalid % command "%foobar", use "%help" to list commands
|
||||
|
@ -1,4 +1,3 @@
|
||||
// UNSUPPORTED: system-aix
|
||||
// RUN: cat %s | clang-repl | FileCheck %s
|
||||
extern "C" int printf(const char *, ...);
|
||||
int x1 = 0;
|
||||
|
@ -1,4 +1,3 @@
|
||||
// UNSUPPORTED: system-aix, system-zos
|
||||
// see https://github.com/llvm/llvm-project/issues/68092
|
||||
// XFAIL: host={{.*}}-windows-msvc
|
||||
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit, x86_64-linux
|
||||
// UNSUPPORTED: system-aix
|
||||
//
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir -p %t
|
||||
|
@ -1,4 +1,3 @@
|
||||
// UNSUPPORTED: system-aix
|
||||
// RUN: cat %s | clang-repl 2>&1 | FileCheck %s
|
||||
%lib
|
||||
// CHECK: %lib expects 1 argument: the path to a dynamic library
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit
|
||||
// UNSUPPORTED: system-aix
|
||||
// RUN: cat %s | clang-repl -Xcc -Xclang -Xcc -verify | FileCheck %s
|
||||
// RUN: %clang_cc1 -verify -fincremental-extensions -emit-llvm -o - %s \
|
||||
// RUN: | FileCheck --check-prefix=CODEGEN-CHECK %s
|
||||
|
@ -1,4 +1,4 @@
|
||||
// UNSUPPORTED: system-aix, system-windows
|
||||
// UNSUPPORTED: system-windows
|
||||
// RUN: cat %s | clang-repl | FileCheck %s
|
||||
|
||||
extern "C" int printf(const char *, ...);
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit
|
||||
// UNSUPPORTED: system-aix
|
||||
|
||||
// RUN: cat %s | clang-repl -Xcc -xc -Xcc -Xclang -Xcc -verify | FileCheck %s
|
||||
// RUN: cat %s | clang-repl -Xcc -xc -Xcc -O2 -Xcc -Xclang -Xcc -verify| FileCheck %s
|
||||
|
@ -1,5 +1,3 @@
|
||||
// UNSUPPORTED: system-aix
|
||||
|
||||
// clang-format off
|
||||
// RUN: clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' \
|
||||
// RUN: 'auto r1 = printf("i = %d\n", i);' | FileCheck --check-prefix=CHECK-DRIVER %s
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit
|
||||
// UNSUPPORTED: system-aix
|
||||
// clang-repl can be called from the prompt in non-interactive mode as a
|
||||
// calculator in shell scripts, for example. In that case if there is an error
|
||||
// we should set the exit code as failure.
|
||||
|
@ -1,5 +1,4 @@
|
||||
// clang-format off
|
||||
// UNSUPPORTED: system-aix
|
||||
//
|
||||
// Tests that a global destructor is ran on platforms with gnu exception support.
|
||||
//
|
||||
@ -10,4 +9,4 @@ extern "C" int printf(const char *, ...);
|
||||
struct D { float f = 1.0; D *m = nullptr; D(){} ~D() { printf("D[f=%f, m=0x%llx]\n", f, reinterpret_cast<unsigned long long>(m)); }} d;
|
||||
// CHECK: D[f=1.000000, m=0x0]
|
||||
|
||||
%quit
|
||||
%quit
|
||||
|
@ -1,4 +1,3 @@
|
||||
// UNSUPPORTED: system-aix
|
||||
// RUN: cat %s | clang-repl | FileCheck %s
|
||||
%help
|
||||
// CHECK: %help list clang-repl %commands
|
||||
|
@ -1,5 +1,3 @@
|
||||
// UNSUPPORTED: system-aix
|
||||
//
|
||||
// RUN: clang-repl -Xcc -E
|
||||
// RUN: clang-repl -Xcc -emit-llvm
|
||||
// RUN: clang-repl -Xcc -xc
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit, x86_64-linux
|
||||
// UNSUPPORTED: system-aix
|
||||
//
|
||||
// RUN: rm -rf %t
|
||||
// RUN: mkdir -p %t
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit
|
||||
// UNSUPPORTED: system-aix
|
||||
//
|
||||
// This test is flaky with ASan: https://github.com/llvm/llvm-project/issues/135401
|
||||
// UNSUPPORTED: asan
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit
|
||||
// UNSUPPORTED: system-aix
|
||||
// RUN: cat %s | clang-repl | FileCheck %s
|
||||
// At -O2, somehow "x = 42" appears first when piped into FileCheck,
|
||||
// see https://github.com/llvm/llvm-project/issues/143547.
|
||||
@ -27,4 +26,4 @@ auto capture = [&]() { return x * 2; };
|
||||
printf("x = %d\n", x);
|
||||
// CHECK: x = 42
|
||||
|
||||
%quit
|
||||
%quit
|
||||
|
@ -1,2 +1,6 @@
|
||||
if "host-supports-jit" not in config.available_features:
|
||||
# clang-repl is not supported on AIX and zOS
|
||||
unsupported_platforms = [ "system-aix", "system-zos" ]
|
||||
|
||||
if "host-supports-jit" not in config.available_features or \
|
||||
any(up in config.available_features for up in unsupported_platforms):
|
||||
config.unsupported = True
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit
|
||||
// UNSUPPORTED: system-aix
|
||||
// RUN: cat %s | clang-repl -Xcc -Xclang -Xcc -verify | FileCheck %s
|
||||
|
||||
// expected-no-diagnostics
|
||||
|
@ -1,5 +1,4 @@
|
||||
// REQUIRES: host-supports-jit
|
||||
// UNSUPPORTED: system-aix
|
||||
// RUN: cat %s | clang-repl -Xcc -xc | FileCheck %s
|
||||
// RUN: cat %s | clang-repl -Xcc -std=c++11 | FileCheck %s
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
// RUN: clang-repl "int i = 10;" 'extern "C" int printf(const char*,...);' \
|
||||
// RUN: 'auto r1 = printf("i = %d\n", i);' | FileCheck --check-prefix=CHECK-DRIVER %s
|
||||
// The test is flaky with asan https://github.com/llvm/llvm-project/pull/148701.
|
||||
// UNSUPPORTED: system-aix, asan
|
||||
// UNSUPPORTED: asan
|
||||
// CHECK-DRIVER: i = 10
|
||||
// RUN: cat %s | clang-repl -Xcc -std=c++11 -Xcc -fno-delayed-template-parsing | FileCheck %s
|
||||
extern "C" int printf(const char*,...);
|
||||
|
@ -1,5 +1,4 @@
|
||||
// clang-format off
|
||||
// UNSUPPORTED: system-aix
|
||||
// XFAIL for arm, or running on Windows.
|
||||
// XFAIL: target=arm-{{.*}}, target=armv{{.*}}, system-windows, system-cygwin
|
||||
// RUN: cat %s | clang-repl | FileCheck %s
|
||||
|
Loading…
x
Reference in New Issue
Block a user