Skip to content

Mark test cases as unsupported on z/OS #90990

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 2 commits into from
May 7, 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
1 change: 1 addition & 0 deletions clang/test/AST/Interp/cxx23.cpp
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// UNSUPPORTED: target={{.*}}-zos{{.*}}
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -fcxx-exceptions -verify=ref20,all,all20 %s
// RUN: %clang_cc1 -std=c++23 -fsyntax-only -fcxx-exceptions -verify=ref23,all %s
// RUN: %clang_cc1 -std=c++20 -fsyntax-only -fcxx-exceptions -verify=expected20,all,all20 %s -fexperimental-new-constant-interpreter
Expand Down
1 change: 1 addition & 0 deletions clang/test/CodeGen/ffp-contract-option.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: x86-registered-target
// UNSUPPORTED: target={{.*}}-zos{{.*}}
// RUN: %clang_cc1 -triple=x86_64 %s -emit-llvm -o - \
// RUN:| FileCheck --check-prefixes CHECK,CHECK-DEFAULT %s

Expand Down
1 change: 1 addition & 0 deletions clang/test/CodeGen/ffp-model.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// REQUIRES: x86-registered-target
// UNSUPPORTED: target={{.*}}-zos{{.*}}
// RUN: %clang -S -emit-llvm -fenable-matrix -ffp-model=fast %s -o - \
// RUN: | FileCheck %s --check-prefixes=CHECK,CHECK-FAST

Expand Down
1 change: 1 addition & 0 deletions clang/test/CodeGen/fp-matrix-pragma.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang -emit-llvm -S -fenable-matrix -mllvm -disable-llvm-optzns %s -o - | FileCheck %s
// UNSUPPORTED: target={{.*}}-zos{{.*}}

typedef float fx2x2_t __attribute__((matrix_type(2, 2)));
typedef int ix2x2_t __attribute__((matrix_type(2, 2)));
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Driver/clang-offload-bundler-asserts-on.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// REQUIRES: x86-registered-target
// REQUIRES: asserts
// UNSUPPORTED: target={{.*}}-macosx{{.*}}, target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}
// UNSUPPORTED: target={{.*}}-macosx{{.*}}, target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}, target={{.*}}-zos{{.*}}

// Generate the file we can bundle.
// RUN: %clang -O0 -target %itanium_abi_triple %s -c -o %t.o
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Driver/clang-offload-bundler-standardize.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// REQUIRES: x86-registered-target
// REQUIRES: asserts
// UNSUPPORTED: target={{.*}}-macosx{{.*}}, target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}
// UNSUPPORTED: target={{.*}}-macosx{{.*}}, target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}, target={{.*}}-zos{{.*}}
// REQUIRES: asserts

// Generate the file we can bundle.
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Driver/clang-offload-bundler-zlib.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// REQUIRES: zlib && !zstd
// REQUIRES: x86-registered-target
// UNSUPPORTED: target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}
// UNSUPPORTED: target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}, target={{.*}}-zos{{.*}}

//
// Generate the host binary to be bundled.
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Driver/clang-offload-bundler-zstd.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// REQUIRES: zstd
// REQUIRES: x86-registered-target
// UNSUPPORTED: target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}
// UNSUPPORTED: target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}, target={{.*}}-zos{{.*}}

//
// Generate the host binary to be bundled.
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Driver/clang-offload-bundler.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// REQUIRES: x86-registered-target
// UNSUPPORTED: target={{.*}}-macosx{{.*}}, target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}
// UNSUPPORTED: target={{.*}}-macosx{{.*}}, target={{.*}}-darwin{{.*}}, target={{.*}}-aix{{.*}}, target={{.*}}-zos{{.*}}

//
// Generate all the types of files we can bundle.
Expand Down
7 changes: 7 additions & 0 deletions clang/test/Driver/std-trigraph-override.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
// UNSUPPORTED: target={{.*-zos.*}}
// RUN: %clang -w -std=c99 -trigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=OVERRIDE %s
// OVERRIDE: ??(??)
// RUN: %clang -w -std=c99 -ftrigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=FOVERRIDE %s
// FOVERRIDE: ??(??)

??(??)
4 changes: 0 additions & 4 deletions clang/test/Driver/std.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// RUN: %clang -w -std=c99 -trigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=OVERRIDE %s
// OVERRIDE: ??(??)
// RUN: %clang -w -std=c99 -ftrigraphs -std=gnu99 %s -E -o - | FileCheck -check-prefix=FOVERRIDE %s
// FOVERRIDE: ??(??)
// RUN: %clang -w -ansi %s -E -o - | FileCheck -check-prefix=ANSI %s
// ANSI: []
// RUN: %clang -w -ansi %s -fno-trigraphs -E -o - | FileCheck -check-prefix=ANSI-OVERRIDE %s
Expand Down
16 changes: 16 additions & 0 deletions clang/test/FixIt/fixit-c++2a-tls.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// RUN: %clang_cc1 -verify -std=c++2a -pedantic-errors %s
// RUN: cp %s %t
// RUN: %clang_cc1 -x c++ -std=c++2a -fixit %t
// RUN: %clang_cc1 -Wall -pedantic-errors -x c++ -std=c++2a %t
// RUN: cat %t | FileCheck %s
// UNSUPPORTED: target={{.*-zos.*}}

/* This is a test of the various code modification hints that only
apply in C++2a. */

namespace constinit_mismatch {
extern thread_local constinit int a; // expected-note {{declared constinit here}}
thread_local int a = 123; // expected-error {{'constinit' specifier missing on initializing declaration of 'a'}}
// CHECK: {{^}} constinit thread_local int a = 123;
}

4 changes: 0 additions & 4 deletions clang/test/FixIt/fixit-c++2a.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,6 @@ template<typename ...T> void init_capture_pack(T ...a) {
}

namespace constinit_mismatch {
extern thread_local constinit int a; // expected-note {{declared constinit here}}
thread_local int a = 123; // expected-error {{'constinit' specifier missing on initializing declaration of 'a'}}
// CHECK: {{^}} constinit thread_local int a = 123;

int b = 123; // expected-note {{add the 'constinit' specifier}}
extern constinit int b; // expected-error {{'constinit' specifier added after initialization of variable}}
// CHECK: {{^}} extern int b;
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Interpreter/const.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// UNSUPPORTED: system-aix
// UNSUPPORTED: system-aix, system-zos
// see https://github.com/llvm/llvm-project/issues/68092
// XFAIL: host={{.*}}-windows-msvc

Expand Down
1 change: 1 addition & 0 deletions clang/test/Lexer/unicode.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
// RUN: %clang_cc1 -fsyntax-only -verify=expected,cxx -x c++ -std=c++11 %s
// RUN: %clang_cc1 -std=c99 -E -DPP_ONLY=1 %s | FileCheck %s --strict-whitespace
// RUN: %clang_cc1 -E -DPP_ONLY=1 %s | FileCheck %s --strict-whitespace
// UNSUPPORTED: system-zos

// This file contains Unicode characters; please do not "fix" them!

Expand Down
1 change: 1 addition & 0 deletions clang/test/Modules/cstd.m
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// RUN: rm -rf %t
// RUN: %clang_cc1 -fsyntax-only -internal-isystem %S/Inputs/System/usr/include -fmodules -fimplicit-module-maps -fbuiltin-headers-in-system-modules -fmodules-cache-path=%t -D__need_wint_t -Werror=implicit-function-declaration %s
// UNSUPPORTED: target={{.*}}-zos{{.*}}

@import uses_other_constants;
const double other_value = DBL_MAX;
Expand Down
2 changes: 1 addition & 1 deletion clang/test/Modules/merge-objc-protocol-visibility.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// UNSUPPORTED: target={{.*}}-aix{{.*}}
// UNSUPPORTED: target={{.*}}-aix{{.*}}, target={{.*}}-zos{{.*}}
// RUN: rm -rf %t
// RUN: split-file %s %t
// RUN: %clang_cc1 -emit-llvm -o %t/test.bc -F%t/Frameworks %t/test.m -Werror=objc-method-access -DHIDDEN_FIRST=1 \
Expand Down
1 change: 1 addition & 0 deletions clang/test/PCH/chain-openmp-threadprivate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
// with PCH
// RUN: %clang_cc1 -fopenmp -emit-llvm -chain-include %s -chain-include %s %s -o - | FileCheck %s -check-prefix=CHECK-TLS-1
// RUN: %clang_cc1 -fopenmp -emit-llvm -chain-include %s -chain-include %s %s -o - | FileCheck %s -check-prefix=CHECK-TLS-2
// // UNSUPPORTED: target={{.*}}-zos{{.*}}

#if !defined(PASS1)
#define PASS1
Expand Down
1 change: 1 addition & 0 deletions clang/test/Sema/thread_local.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// RUN: %clang_cc1 -fsyntax-only -std=c23 %s -verify
// UNSUPPORTED: target={{.*}}-zos{{.*}}

// Ensure that thread_local and _Thread_local are synonyms in C23 and both
// restrict local variables to be explicitly static or extern.
Expand Down
1 change: 1 addition & 0 deletions llvm/test/MC/AsmParser/layout-interdependency.s
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# RUN: not llvm-mc --filetype=obj %s -o /dev/null 2>&1 | FileCheck %s
# REQUIRES: object-emission
# UNSUPPORTED: target={{.*}}-zos{{.*}}

fct_end:

Expand Down
1 change: 1 addition & 0 deletions llvm/test/Object/archive-big-extract.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## Test extract xcoff object file from AIX big archive.
# UNSUPPORTED: target={{.*}}-zos{{.*}}
# RUN: rm -rf %t && mkdir -p %t/extracted/ && cd %t/extracted/
# RUN: llvm-ar x %p/Inputs/aix-big-archive.a
# RUN: echo "content_of_evenlen" > evenlen_1
Expand Down
1 change: 1 addition & 0 deletions llvm/test/Object/archive-extract.test
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
; This test just makes sure that llvm-ar can extract bytecode members
; from various style archives.

; UNSUPPORTED: target={{.*}}-zos{{.*}}
; RUN: rm -rf %t && mkdir -p %t && cd %t

; RUN: rm -f very_long_bytecode_file_name.bc
Expand Down