mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
6e98d8a897
Add support for creating static libraries when the input includes only Mach-O binaries (and not libraries/archives themselves). Reviewed by alexshap, Ktwu, smeenai, jhenderson, MaskRay, mtrent Differential Revision: https://reviews.llvm.org/D83002
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
## This test checks that the help message is displayed correctly.
|
|
|
|
# RUN: llvm-libtool-darwin -h | \
|
|
# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE,CATEG %s --match-full-lines --implicit-check-not="General options:"
|
|
# RUN: llvm-libtool-darwin -help | \
|
|
# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE,CATEG %s --match-full-lines --implicit-check-not="General options:"
|
|
# RUN: llvm-libtool-darwin --help | \
|
|
# RUN: FileCheck --check-prefixes=LIBTOOL-USAGE,CATEG %s --match-full-lines --implicit-check-not="General options:"
|
|
# RUN: llvm-libtool-darwin --help-list | \
|
|
# RUN: FileCheck -check-prefixes=LIBTOOL-USAGE,LIST %s --match-full-lines --implicit-check-not="safepoint-ir-verifier-print-only"
|
|
|
|
# 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:
|
|
|
|
# CATEG: Color Options:
|
|
# LIST-NOT: Color Options:
|
|
# CATEG: Generic Options:
|
|
# LIST-NOT: Generic Options:
|
|
# CATEG: llvm-libtool-darwin Options:
|
|
# LIST-NOT: llvm-libtool-darwin Options:
|
|
# LIST-NOT: General options:
|
|
|
|
# UNKNOWN-ARG: Unknown command line argument '{{-+}}abcabc'
|