forked from OSchip/llvm-project
[llvm-objcopy] Update help message tests
This diff merges help message tests for llvm-objcopy, llvm-strip and llvm-install-name-tool. Patch by Sameer Arora! Test plan: make check-all Differential revision: https://reviews.llvm.org/D82012
This commit is contained in:
parent
18db086dca
commit
395920a614
|
@ -1,10 +0,0 @@
|
|||
# RUN: llvm-install-name-tool -h | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
|
||||
# RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
|
||||
# RUN: not llvm-install-name-tool 2>&1 | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
|
||||
# RUN: not llvm-install-name-tool -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
|
||||
# RUN: not llvm-install-name-tool --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
|
||||
|
||||
# INSTALL-NAME-TOOL-USAGE: USAGE: llvm-install-name-tool [options] input
|
||||
# INSTALL-NAME-TOOL-USAGE: Pass @FILE as argument to read options from FILE.
|
||||
|
||||
# UNKNOWN-ARG: unknown argument '{{-+}}abcabc'
|
|
@ -12,11 +12,21 @@
|
|||
# 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
|
||||
|
||||
# RUN: llvm-install-name-tool -h | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
|
||||
# RUN: llvm-install-name-tool --help | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
|
||||
# RUN: not llvm-install-name-tool 2>&1 | FileCheck --check-prefix=INSTALL-NAME-TOOL-USAGE %s --match-full-lines
|
||||
# RUN: not llvm-install-name-tool -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
|
||||
# RUN: not llvm-install-name-tool --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
|
||||
# RUN: not llvm-install-name-tool -add_rpath @executable 2>&1 | FileCheck %s --check-prefix=NO-INPUT-FILES
|
||||
|
||||
# OBJCOPY-USAGE: USAGE: llvm-objcopy [options] input [output]
|
||||
# OBJCOPY-USAGE: Pass @FILE as argument to read options from FILE.
|
||||
|
||||
# STRIP-USAGE: USAGE: llvm-strip [options] inputs...
|
||||
# STRIP-USAGE: Pass @FILE as argument to read options from FILE.
|
||||
|
||||
# INSTALL-NAME-TOOL-USAGE: USAGE: llvm-install-name-tool [options] input
|
||||
# INSTALL-NAME-TOOL-USAGE: Pass @FILE as argument to read options from FILE.
|
||||
|
||||
# UNKNOWN-ARG: unknown argument '{{-+}}abcabc'
|
||||
# NO-INPUT-FILES: no input file specified
|
Loading…
Reference in New Issue