1# RUN: llvm-lipo -h | FileCheck --check-prefix=LIPO-USAGE %s 2# RUN: llvm-lipo --help | FileCheck --check-prefix=LIPO-USAGE %s 3 4# RUN: llvm-lipo -version | FileCheck --check-prefix=LIPO-VERSION %s 5# RUN: llvm-lipo --version | FileCheck --check-prefix=LIPO-VERSION %s 6 7# RUN: not llvm-lipo 2>&1 | FileCheck --check-prefix=LIPO-USAGE %s 8# RUN: not llvm-lipo -abcabc 2>&1 | FileCheck --check-prefix=LIPO-UNKNOWN-ARG %s 9# RUN: not llvm-lipo --abcabc 2>&1 | FileCheck --check-prefix=LIPO-UNKNOWN-ARG %s 10 11# RUN: not llvm-lipo %t -archs -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_FLAGS %s 12# RUN: not llvm-lipo %t -archs -thin i386 2>&1 | FileCheck --check-prefix=MULTIPLE_FLAGS %s 13# RUN: not llvm-lipo %t -thin i386 -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_FLAGS %s 14# RUN: not llvm-lipo %t -archs -thin i386 -verify_arch i386 2>&1 | FileCheck --check-prefix=MULTIPLE_FLAGS %s 15# MULTIPLE_FLAGS: only one of the following actions can be specified: 16 17# LIPO-USAGE: USAGE: llvm-lipo 18# LIPO-UNKNOWN-ARG: unknown argument '{{-+}}abcabc' 19# LIPO-VERSION: {{ version }} 20