blob: 77a833b9fb4a486fa07c5cfca5977678e9bb85d9 [file] [log] [blame]
# 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 }}