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
16 lines
772 B
Plaintext
16 lines
772 B
Plaintext
# RUN: llvm-objcopy --help | FileCheck --check-prefix=OBJCOPY-USAGE %s
|
|
# RUN: not llvm-objcopy 2>&1 | FileCheck --check-prefix=OBJCOPY-USAGE %s
|
|
# RUN: not llvm-objcopy -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
|
|
# RUN: not llvm-objcopy -strip-debug 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
|
|
|
|
# RUN: llvm-strip --help | FileCheck --check-prefix=STRIP-USAGE %s
|
|
# RUN: not llvm-strip 2>&1 | FileCheck --check-prefix=STRIP-USAGE %s
|
|
# RUN: not llvm-strip -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
|
|
# RUN: not llvm-strip -strip-debug 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
|
|
|
|
|
|
# OBJCOPY-USAGE: USAGE: llvm-objcopy
|
|
# STRIP-USAGE: USAGE: llvm-strip
|
|
# UNKNOWN-ARG: unknown argument '-abcabc'
|
|
# NO-INPUT-FILES: No input file specified
|