1## This test checks that the help message is displayed correctly. 2 3# RUN: llvm-libtool-darwin -h | \ 4# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE,CATEG %s --match-full-lines --implicit-check-not="General options:" 5# RUN: llvm-libtool-darwin -help | \ 6# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE,CATEG %s --match-full-lines --implicit-check-not="General options:" 7# RUN: llvm-libtool-darwin --help | \ 8# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE,CATEG %s --match-full-lines --implicit-check-not="General options:" 9# RUN: llvm-libtool-darwin --help-list | \ 10# RUN: FileCheck -check-prefixes=LIBTOOL-USAGE,LIST %s --match-full-lines --implicit-check-not="safepoint-ir-verifier-print-only" 11 12# RUN: not llvm-libtool-darwin -abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s 13# RUN: not llvm-libtool-darwin --abcabc 2>&1 | FileCheck --check-prefix=UNKNOWN-ARG %s 14 15# LIBTOOL-USAGE: OVERVIEW: llvm-libtool-darwin 16# LIBTOOL-USAGE: USAGE: llvm-libtool-darwin{{(\.exe)?}} [options] <input files> 17# LIBTOOL-USAGE: OPTIONS: 18 19# CATEG: Color Options: 20# LIST-NOT: Color Options: 21# CATEG: Generic Options: 22# LIST-NOT: Generic Options: 23# CATEG: llvm-libtool-darwin Options: 24# LIST-NOT: llvm-libtool-darwin Options: 25# LIST-NOT: General options: 26 27# UNKNOWN-ARG: Unknown command line argument '{{-+}}abcabc' 28