Author: Hans Wennborg Date: 2024-05-06T12:33:48+02:00 New Revision: 6217abce86b55778cf39f7db7f591a16b9fd4d28
URL: https://github.com/llvm/llvm-project/commit/6217abce86b55778cf39f7db7f591a16b9fd4d28 DIFF: https://github.com/llvm/llvm-project/commit/6217abce86b55778cf39f7db7f591a16b9fd4d28.diff LOG: Add requires clause to risc-v clang driver tests Followup to #89727 Added: Modified: clang/test/Driver/riscv-option-arch.c clang/test/Driver/riscv-option-arch.s Removed: ################################################################################ diff --git a/clang/test/Driver/riscv-option-arch.c b/clang/test/Driver/riscv-option-arch.c index e583e9fd62b08c..9f0e037cd12e01 100644 --- a/clang/test/Driver/riscv-option-arch.c +++ b/clang/test/Driver/riscv-option-arch.c @@ -1,3 +1,4 @@ +// REQUIRES: riscv-registered-target // RUN: %clang --target=riscv64 -menable-experimental-extensions -c -o /dev/null %s // RUN: ! %clang --target=riscv64 -c -o /dev/null %s 2>&1 | FileCheck -check-prefixes=CHECK-ERR %s diff --git a/clang/test/Driver/riscv-option-arch.s b/clang/test/Driver/riscv-option-arch.s index 8ce84dd8ffe79d..c4ca4aa459ce2e 100644 --- a/clang/test/Driver/riscv-option-arch.s +++ b/clang/test/Driver/riscv-option-arch.s @@ -1,3 +1,4 @@ +# REQUIRES: riscv-registered-target # RUN: %clang --target=riscv64 -menable-experimental-extensions -c -o /dev/null %s # RUN: ! %clang --target=riscv64 -c -o /dev/null %s 2>&1 | FileCheck -check-prefixes=CHECK-ERR %s _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits