[llvm] 79e5c50 - [llvm-lipo] Fix create-arch-asm test by requiring x86 and aarch64 target

Vincent Lee via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 18:59:44 PDT 2022


Author: Vincent Lee
Date: 2022-09-12T18:57:01-07:00
New Revision: 79e5c5004e9a6efafa62c6c1b8e7d46c8669fb0c

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

LOG: [llvm-lipo] Fix create-arch-asm test by requiring x86 and aarch64 target

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.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-lipo/create-arch-asm.test b/llvm/test/tools/llvm-lipo/create-arch-asm.test
index 47a707fd8099..30d21bcb1c10 100644
--- a/llvm/test/tools/llvm-lipo/create-arch-asm.test
+++ b/llvm/test/tools/llvm-lipo/create-arch-asm.test
@@ -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
 


        


More information about the llvm-commits mailing list