Files
clang-p2996/llvm/test/tools/llvm-libtool-darwin/help-message.test
Andres Villegas 939c03512d [llvm-libtool-darwin] Switch to OptTableSummary
Switch the parse of command line options fromllvm::cl to OptTable.
The motivation for this change is to continue adding llvm based tools
to the llvm driver multicall.

Differential Revision: https://reviews.llvm.org/D153665
2023-06-26 14:37:51 -07:00

18 lines
888 B
Plaintext

## This test checks that the help message is displayed correctly.
# RUN: llvm-libtool-darwin -h | \
# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE %s --match-full-lines --implicit-check-not="General options:"
# RUN: llvm-libtool-darwin -help | \
# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE %s --match-full-lines --implicit-check-not="General options:"
# RUN: llvm-libtool-darwin --help | \
# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE %s --match-full-lines --implicit-check-not="General options:"
# RUN: not llvm-libtool-darwin -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
# RUN: not llvm-libtool-darwin --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s
# LIBTOOL-USAGE: OVERVIEW: llvm-libtool-darwin
# LIBTOOL-USAGE: USAGE: llvm-libtool-darwin{{(\.exe)?}} [options] <input files>
# LIBTOOL-USAGE: OPTIONS:
# UNKNOWN-ARG: unknown argument '{{-+}}abcabc'