Skip to content

Commit 0d863b5

Browse files
committed
[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
1 parent 5de12bb commit 0d863b5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/test/tools/llvm-objcopy/MachO/universal-object.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
## Case 3: copy an archive containing a universal object.
2727
# RUN: llvm-ar cr %t.archive.containing.universal %t.universal
2828
# RUN: llvm-objcopy %t.archive.containing.universal %t.archive.containing.universal.copy
29+
# RUN: cmp %t.archive.containing.universal %t.archive.containing.universal.copy
2930

3031
## Case 4: try to copy a universal object file contaning a bitcode slice.
3132
# RUN: echo 'target triple = "arm64-apple-ios8.0.0"' | llvm-as -o %t.bitcode

0 commit comments

Comments
 (0)