1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00
llvm-mirror/test/tools/llvm-lipo/help-error-messages.test
Shoaib Meenai e24eeda57d [llvm-lipo] Implement -thin
Creates thin output file of specified arch_type from the fat input file.

Patch by Anusha Basana <anushabasana@fb.com>

Differential Revision: https://reviews.llvm.org/D63341

llvm-svn: 364107
2019-06-21 21:59:01 +00:00

20 lines
1.1 KiB
Plaintext

# RUN: llvm-lipo -h | FileCheck --check-prefix=LIPO-USAGE %s
# RUN: llvm-lipo --help | FileCheck --check-prefix=LIPO-USAGE %s
# RUN: llvm-lipo -version | FileCheck --check-prefix=LIPO-VERSION %s
# RUN: llvm-lipo --version | FileCheck --check-prefix=LIPO-VERSION %s
# RUN: not llvm-lipo 2>&1 | FileCheck --check-prefix=LIPO-USAGE %s
# RUN: not llvm-lipo -abcabc 2>&1 | FileCheck --check-prefix=LIPO-UNKNOWN-ARG %s
# RUN: not llvm-lipo --abcabc 2>&1 | FileCheck --check-prefix=LIPO-UNKNOWN-ARG %s
# RUN: not llvm-lipo %t -archs -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_FLAGS %s
# RUN: not llvm-lipo %t -archs -thin i386 2>&1 | FileCheck --check-prefix=MULTIPLE_FLAGS %s
# RUN: not llvm-lipo %t -thin i386 -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_FLAGS %s
# RUN: not llvm-lipo %t -archs -thin i386 -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_FLAGS %s
# MULTIPLE_FLAGS: only one of the following actions can be specified:
# LIPO-USAGE: USAGE: llvm-lipo
# LIPO-UNKNOWN-ARG: unknown argument '{{-+}}abcabc'
# LIPO-VERSION: {{ version }}