Skip to content

Commit 6217abc

Browse files
committed
Add requires clause to risc-v clang driver tests
Followup to #89727
1 parent 8e7618a commit 6217abc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

clang/test/Driver/riscv-option-arch.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: riscv-registered-target
12
// RUN: %clang --target=riscv64 -menable-experimental-extensions -c -o /dev/null %s
23
// RUN: ! %clang --target=riscv64 -c -o /dev/null %s 2>&1 | FileCheck -check-prefixes=CHECK-ERR %s
34

clang/test/Driver/riscv-option-arch.s

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# REQUIRES: riscv-registered-target
12
# RUN: %clang --target=riscv64 -menable-experimental-extensions -c -o /dev/null %s
23
# RUN: ! %clang --target=riscv64 -c -o /dev/null %s 2>&1 | FileCheck -check-prefixes=CHECK-ERR %s
34

0 commit comments

Comments
 (0)