[llvm-lipo] Fix create-arch-asm test by requiring x86 and aarch64 target
authorVincent Lee <leevince@fb.com>
Tue, 13 Sep 2022 01:56:44 +0000 (18:56 -0700)
committerVincent Lee <leevince@fb.com>
Tue, 13 Sep 2022 01:57:01 +0000 (18:57 -0700)
https://reviews.llvm.org/D133729 broke the buildbots because some
don't build with both x86 and aarch64 targets. Adding REQUIRES
to make sure this test only runs when specifying for both arch.

llvm/test/tools/llvm-lipo/create-arch-asm.test

index 47a707f..30d21bc 100644 (file)
@@ -1,3 +1,4 @@
+# REQUIRES: x86-registered-target && aarch64-registered-target
 # RUN: llvm-as %p/Inputs/arm64-asm.ll -o %t-arm64-asm.o
 # RUN: llvm-as %p/Inputs/x86_64-asm.ll -o %t-x86_64-asm.o