summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShoaib Meenai <smeenai@fb.com>2019-07-25 00:29:07 +0000
committerShoaib Meenai <smeenai@fb.com>2019-07-25 00:29:07 +0000
commit7418b10b165236d581303e568ad17a7d00937943 (patch)
tree5a26bef3ff26605501fc6dbefa78768d43fb7d56
parent758f6da687b825112f493e7f6086c9d6f1853daf (diff)
downloadbcm5719-llvm-7418b10b165236d581303e568ad17a7d00937943.tar.gz
bcm5719-llvm-7418b10b165236d581303e568ad17a7d00937943.zip
[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
-rw-r--r--llvm/test/tools/llvm-lipo/verify-arch-universal-binary.test1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-lipo/verify-arch-universal-binary.test b/llvm/test/tools/llvm-lipo/verify-arch-universal-binary.test
index 21e9f92813b..1f0381ebf12 100644
--- a/llvm/test/tools/llvm-lipo/verify-arch-universal-binary.test
+++ b/llvm/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
OpenPOWER on IntegriCloud