diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2022-05-12 10:28:57 -0700 |
---|---|---|
committer | Keith Smiley <keithbsmiley@gmail.com> | 2022-05-16 16:04:35 -0700 |
commit | 0d863b5b90a2f11e58b0b54d7183cb1577fd3a0b (patch) | |
tree | f4ad5199bd35765a85fefe7b77f0973e8ff8d3da /llvm/test/tools/llvm-objcopy | |
parent | 5de12bb703c5104b3fd64ee51c6900d6171d826a (diff) | |
download | llvm-0d863b5b90a2f11e58b0b54d7183cb1577fd3a0b.zip llvm-0d863b5b90a2f11e58b0b54d7183cb1577fd3a0b.tar.gz llvm-0d863b5b90a2f11e58b0b54d7183cb1577fd3a0b.tar.bz2 |
[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
Diffstat (limited to 'llvm/test/tools/llvm-objcopy')
-rw-r--r-- | llvm/test/tools/llvm-objcopy/MachO/universal-object.test | 1 |
1 files changed, 1 insertions, 0 deletions
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 |