From 75f6779a4b6e70ad95c2481445c21e151a9af80a Mon Sep 17 00:00:00 2001 From: Douglas Yung Date: Sat, 9 Aug 2025 21:55:20 +0800 Subject: [PATCH] Add `REQUIRES: riscv` to test added in 151639 to skip the test when riscv is not built. --- lld/test/ELF/riscv-relocatable-align.s | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/test/ELF/riscv-relocatable-align.s b/lld/test/ELF/riscv-relocatable-align.s index 9a782ed47850a..4ba932ce5f847 100644 --- a/lld/test/ELF/riscv-relocatable-align.s +++ b/lld/test/ELF/riscv-relocatable-align.s @@ -1,3 +1,4 @@ +# REQUIRES: riscv # RUN: rm -rf %t && split-file %s %t && cd %t # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c,+relax a.s -o ac.o # RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c,+relax b.s -o bc.o