summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-lipo/create-invalid-input.test
blob: 4bb2e1a56667997a0396f4f5f215cc7e7aec9417 (plain)
1
2
3
4
5
6
7
8
# RUN: yaml2obj %p/Inputs/i386-slice.yaml > %t-32.o
# RUN: yaml2obj %p/Inputs/i386-x86_64-universal.yaml > %t-universal.o

# RUN: not llvm-lipo %t-32.o -create 2>&1 | FileCheck --check-prefix=NO_OUTPUT %s
# NO_OUTPUT: error: create expects a single output file to be specified

# RUN: not llvm-lipo %t-universal.o %t-32.o -create -output %t.o 2>&1 | FileCheck --check-prefix=DUPLICATE_ARCHS %s
# DUPLICATE_ARCHS: have the same architecture i386 and therefore cannot be in the same universal binary
OpenPOWER on IntegriCloud