blob: a0c4bec545197850180c3d3c4b809a69ce30cf89 [file] [log] [blame]
## Test running llvm-elfabi without specifying a valid target.
# RUN: not llvm-elfabi %s %t 2>&1 | FileCheck %s --check-prefix=MISSING
# RUN: not llvm-elfabi %s --output-target=nope %t 2>&1 | FileCheck %s --check-prefix=INVALID
--- !tapi-tbe
SoName: somelib.so
TbeVersion: 1.0
Arch: x86_64
Symbols: {}
...
# MISSING: error: no binary output target specified.
# INVALID: llvm-elfabi: for the --output-target option: Cannot find option named 'nope'!