llvm-project/llvm/test/tools/yaml2obj/help.test

12 lines
525 B
Plaintext

## 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: