forked from OSchip/llvm-project
16 lines
540 B
Plaintext
16 lines
540 B
Plaintext
## Test running llvm-ifs without specifying a valid target.
|
|
|
|
# RUN: not llvm-ifs --output=%t %s 2>&1 | FileCheck %s --check-prefix=MISSING
|
|
# RUN: not llvm-ifs --output-format=nope --output=%t %s 2>&1 | FileCheck %s --check-prefix=INVALID
|
|
|
|
--- !ifs-v1
|
|
SoName: somelib.so
|
|
IfsVersion: 3.0
|
|
Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: little, BitWidth: 64 }
|
|
Symbols: []
|
|
...
|
|
|
|
# MISSING: error: at least one output should be specified.
|
|
|
|
# INVALID: {{llvm-ifs(\.exe)?}}: for the --output-format option: Cannot find option named 'nope'!
|