diff --git a/clang/test/Driver/amdgpu-hip-system-arch.c b/clang/test/Driver/amdgpu-hip-system-arch.c index f25a4087080f6..9c27bc09fb36c 100644 --- a/clang/test/Driver/amdgpu-hip-system-arch.c +++ b/clang/test/Driver/amdgpu-hip-system-arch.c @@ -1,5 +1,5 @@ -// REQUIRES: system-linux // REQUIRES: shell +// XFAIL: target={{.*}}-zos{{.*}} // RUN: mkdir -p %t // RUN: cp %S/Inputs/amdgpu-arch/amdgpu_arch_fail %t/ diff --git a/clang/test/Driver/amdgpu-openmp-system-arch-fail.c b/clang/test/Driver/amdgpu-openmp-system-arch-fail.c index 85c82e4598cb1..b7e1d0b2c5665 100644 --- a/clang/test/Driver/amdgpu-openmp-system-arch-fail.c +++ b/clang/test/Driver/amdgpu-openmp-system-arch-fail.c @@ -1,4 +1,3 @@ -// REQUIRES: system-linux // REQUIRES: shell // RUN: mkdir -p %t diff --git a/clang/test/Driver/nvptx-cuda-system-arch.c b/clang/test/Driver/nvptx-cuda-system-arch.c index 6a8a218406d13..c54eeac73f73b 100644 --- a/clang/test/Driver/nvptx-cuda-system-arch.c +++ b/clang/test/Driver/nvptx-cuda-system-arch.c @@ -1,5 +1,5 @@ -// REQUIRES: system-linux // REQUIRES: shell +// XFAIL: target={{.*}}-zos{{.*}} // RUN: mkdir -p %t // RUN: cp %S/Inputs/nvptx-arch/nvptx_arch_fail %t/ diff --git a/clang/test/Driver/openmp-system-arch.c b/clang/test/Driver/openmp-system-arch.c index cd49f46009966..d097c6bc06548 100644 --- a/clang/test/Driver/openmp-system-arch.c +++ b/clang/test/Driver/openmp-system-arch.c @@ -1,5 +1,5 @@ -// REQUIRES: system-linux // REQUIRES: shell +// XFAIL: target={{.*}}-zos{{.*}} // RUN: mkdir -p %t // RUN: cp %S/Inputs/amdgpu-arch/amdgpu_arch_fail %t/