[clang] d32d749 - [Clang] Add requires flags to test using Linux command line

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 11 09:03:20 PST 2023


Author: Joseph Huber
Date: 2023-01-11T11:03:09-06:00
New Revision: d32d749b11401cef214e3fd7b3814071d9e1e5a7

URL: https://github.com/llvm/llvm-project/commit/d32d749b11401cef214e3fd7b3814071d9e1e5a7
DIFF: https://github.com/llvm/llvm-project/commit/d32d749b11401cef214e3fd7b3814071d9e1e5a7.diff

LOG: [Clang] Add requires flags to test using Linux command line

Summary:
This test uses command line tools but I forgot to add the requires
clauses. Fix it.

Added: 
    

Modified: 
    clang/test/Driver/openmp-system-arch.c

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/openmp-system-arch.c b/clang/test/Driver/openmp-system-arch.c
index 13ce8146f718..c9219234ede5 100644
--- a/clang/test/Driver/openmp-system-arch.c
+++ b/clang/test/Driver/openmp-system-arch.c
@@ -1,3 +1,9 @@
+// REQUIRES: system-linux
+// REQUIRES: x86-registered-target
+// REQUIRES: amdgpu-registered-target
+// REQUIRES: nvptx-registered-target
+// REQUIRES: shell
+
 // RUN: mkdir -p %t
 // RUN: cp %S/Inputs/amdgpu-arch/amdgpu_arch_fail %t/
 // RUN: cp %S/Inputs/amdgpu-arch/amdgpu_arch_gfx906 %t/


        


More information about the cfe-commits mailing list