llvm-for-llvmta/test/tools/yaml2obj/help.test

12 lines
525 B
Plaintext
Raw Normal View History

2022-04-25 10:02:23 +02:00
## Show that help text is printed correctly when requested.
# RUN: yaml2obj -h | FileCheck %s --check-prefixes=CHECK,CATEG --implicit-check-not=Options:
# RUN: yaml2obj --help | FileCheck %s --check-prefixes=CHECK,CATEG --implicit-check-not=Options:
# RUN: yaml2obj --help-list | FileCheck %s --implicit-check-not=Options:
# CHECK: OVERVIEW: Create an object file from a YAML description
# CHECK: USAGE: yaml2obj{{(.exe)?}} [options] <input file>{{$}}
# CHECK: OPTIONS:
# CATEG: Generic Options:
# CATEG: yaml2obj Options: