blob: 08cc22c750e9e627e5617a5897c058bc428990c0 [file] [log] [blame]
Jordan Rupprechtcf676332018-08-17 18:51:11 +00001# RUN: echo abcd > %t.txt
2
3# RUN: not llvm-objcopy -I binary %t.txt %t.o 2>&1 \
4# RUN: | FileCheck %s --check-prefix=MISSING-BINARY-ARCH
5
6# RUN: not llvm-objcopy -I binary -B xyz %t.txt %t.o 2>&1 \
7# RUN: | FileCheck %s --check-prefix=BAD-BINARY-ARCH
8
Alex Brachetd54d4f92019-06-14 02:04:02 +00009# MISSING-BINARY-ARCH: specified binary input without specifiying an architecture
10# BAD-BINARY-ARCH: invalid architecture: 'xyz'