From: Shoaib Meenai Date: Thu, 25 Jul 2019 00:29:07 +0000 (+0000) Subject: [llvm-lipo] Add test for -verify_archs X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f9732c6d3f225aff5544c6fa100cb976fdf7d71b;p=llvm [llvm-lipo] Add test for -verify_archs Add test to verify clean failure, exit code 1 for valid architecture not present in the universal binary. Patch by Anusha Basana Differential Revision: https://reviews.llvm.org/D65251 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@366968 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-lipo/verify-arch-universal-binary.test b/test/tools/llvm-lipo/verify-arch-universal-binary.test index 21e9f92813b..1f0381ebf12 100644 --- a/test/tools/llvm-lipo/verify-arch-universal-binary.test +++ b/test/tools/llvm-lipo/verify-arch-universal-binary.test @@ -4,6 +4,7 @@ # RUN: llvm-lipo %t -verify_arch i386 x86_64 # RUN: not llvm-lipo %t -verify_arch aarch64 +# RUN: not llvm-lipo %t -verify_arch arm64 # RUN: yaml2obj %s | not llvm-lipo - -verify_arch aarch64 i386 # lipo does not support this (i.e. yaml2obj %s | not lipo -), included to test function with llvm-lipo # use the temporary %t when checking tests with lipo