[llvm-lipo] Add test for -verify_archs
authorShoaib Meenai <smeenai@fb.com>
Thu, 25 Jul 2019 00:29:07 +0000 (00:29 +0000)
committerShoaib Meenai <smeenai@fb.com>
Thu, 25 Jul 2019 00:29:07 +0000 (00:29 +0000)
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

llvm/test/tools/llvm-lipo/verify-arch-universal-binary.test

index 21e9f92..1f0381e 100644 (file)
@@ -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