[clang] 03730cd - clang: Remove requires system-linux from some driver tests (#111976)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 14 08:37:57 PST 2024
Author: Matt Arsenault
Date: 2024-11-14T08:37:53-08:00
New Revision: 03730cdd3d10c5270fe436777a37d50b0838a3bf
URL: https://github.com/llvm/llvm-project/commit/03730cdd3d10c5270fe436777a37d50b0838a3bf
DIFF: https://github.com/llvm/llvm-project/commit/03730cdd3d10c5270fe436777a37d50b0838a3bf.diff
LOG: clang: Remove requires system-linux from some driver tests (#111976)
Works for me on macos.
Added:
Modified:
clang/test/Driver/amdgpu-hip-system-arch.c
clang/test/Driver/amdgpu-openmp-system-arch-fail.c
clang/test/Driver/nvptx-cuda-system-arch.c
clang/test/Driver/openmp-system-arch.c
Removed:
################################################################################
diff --git a/clang/test/Driver/amdgpu-hip-system-arch.c b/clang/test/Driver/amdgpu-hip-system-arch.c
index f25a4087080f6d..9c27bc09fb36cf 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 85c82e4598cb10..b7e1d0b2c56659 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 6a8a218406d139..c54eeac73f73b5 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 cd49f460099666..d097c6bc065484 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/
More information about the cfe-commits
mailing list