In this diff the elf-specific tests are moved into the subfolder llvm-objcopy/ELF (the change was discussed in the comments on https://reviews.llvm.org/D54674). A separate code reivew wasn't sent for this change since Phabricator is failing to create such a large diff. Test plan: make check-all make check-llvm-tools make check-llvm-tools-llvm-objcopy llvm-svn: 347958
11 lines
387 B
Plaintext
11 lines
387 B
Plaintext
# RUN: echo abcd > %t.txt
|
|
|
|
# RUN: not llvm-objcopy -I binary %t.txt %t.o 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=MISSING-BINARY-ARCH
|
|
|
|
# RUN: not llvm-objcopy -I binary -B xyz %t.txt %t.o 2>&1 \
|
|
# RUN: | FileCheck %s --check-prefix=BAD-BINARY-ARCH
|
|
|
|
# MISSING-BINARY-ARCH: Specified binary input without specifiying an architecture.
|
|
# BAD-BINARY-ARCH: Invalid architecture: 'xyz'.
|