blob: b2726e61a8bd3599778409fbe44c2616175c635a [file]
## Test running llvm-elfabi without specifying a valid target.
# RUN: not llvm-elfabi --output=%t %s 2>&1 | FileCheck %s --check-prefix=MISSING
# RUN: not llvm-elfabi --output-format=nope --output=%t %s 2>&1 | FileCheck %s --check-prefix=INVALID
--- !ifs-v1
SoName: somelib.so
TbeVersion: 1.0
Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: little, BitWidth: 64 }
Symbols: []
...
# MISSING: llvm-elfabi: for the --output-format option: must be specified at least once!
# INVALID: llvm-elfabi: for the --output-format option: Cannot find option named 'nope'!