[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 <anusha.basana@gmail.com>

Differential Revision: https://reviews.llvm.org/D65251

llvm-svn: 366968
This commit is contained in:
Shoaib Meenai 2019-07-25 00:29:07 +00:00
parent 758f6da687
commit 7418b10b16
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
# RUN: llvm-lipo %t -verify_arch i386 x86_64 # RUN: llvm-lipo %t -verify_arch i386 x86_64
# RUN: not llvm-lipo %t -verify_arch aarch64 # 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 # 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 # 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 # use the temporary %t when checking tests with lipo