From 0d863b5b90a2f11e58b0b54d7183cb1577fd3a0b Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Thu, 12 May 2022 10:28:57 -0700 Subject: [PATCH] [llvm-objcopy][test] Add cmp after copy All of the other tests here either check that the copy fails, or that the resulting binary is the same, it seems like this check was omitted for the universal object case. Differential Revision: https://reviews.llvm.org/D125478 --- llvm/test/tools/llvm-objcopy/MachO/universal-object.test | 1 + 1 file changed, 1 insertion(+) diff --git a/llvm/test/tools/llvm-objcopy/MachO/universal-object.test b/llvm/test/tools/llvm-objcopy/MachO/universal-object.test index a6146fd..3db8795 100644 --- a/llvm/test/tools/llvm-objcopy/MachO/universal-object.test +++ b/llvm/test/tools/llvm-objcopy/MachO/universal-object.test @@ -26,6 +26,7 @@ ## Case 3: copy an archive containing a universal object. # RUN: llvm-ar cr %t.archive.containing.universal %t.universal # RUN: llvm-objcopy %t.archive.containing.universal %t.archive.containing.universal.copy +# RUN: cmp %t.archive.containing.universal %t.archive.containing.universal.copy ## Case 4: try to copy a universal object file contaning a bitcode slice. # RUN: echo 'target triple = "arm64-apple-ios8.0.0"' | llvm-as -o %t.bitcode -- 2.7.4