[PATCH] D65251: [llvm-lipo] Add test for -verify_archs

Anusha Basana via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 24 16:05:01 PDT 2019


anushabasana created this revision.
anushabasana added reviewers: smeenai, alexshap, compnerd, mtrent.
anushabasana added a project: LLVM.
Herald added a subscriber: llvm-commits.

Add test to verify clean failure, exit code 1 for valid architecture not present in the universal binary.

Test Plan: check--llvm


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D65251

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


Index: llvm/test/tools/llvm-lipo/verify-arch-universal-binary.test
===================================================================
--- llvm/test/tools/llvm-lipo/verify-arch-universal-binary.test
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65251.211627.patch
Type: text/x-patch
Size: 639 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190724/7cef8a76/attachment.bin>


More information about the llvm-commits mailing list