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