2019-08-12 11:36:11 +00:00
|
|
|
## Show that help text is printed correctly when requested.
|
|
|
|
|
|
|
|
RUN: llvm-strings -h | FileCheck %s --check-prefixes=CHECK,CATEG
|
|
|
|
RUN: llvm-strings --help | FileCheck %s --check-prefixes=CHECK,CATEG
|
|
|
|
RUN: llvm-strings --help-list \
|
|
|
|
RUN: | FileCheck %s --check-prefixes=CHECK,LIST
|
2019-06-21 11:49:20 +00:00
|
|
|
|
|
|
|
CHECK: OVERVIEW: llvm string dumper
|
|
|
|
CHECK: USAGE: llvm-strings{{(.exe)?}} [options] <input object files>{{$}}
|
|
|
|
CHECK: OPTIONS:
|
2019-08-12 11:36:11 +00:00
|
|
|
CATEG: General options:
|
|
|
|
LIST-NOT: General options:
|
|
|
|
CATEG: Generic Options:
|
|
|
|
LIST-NOT: Generic Options:
|
2019-06-21 11:49:20 +00:00
|
|
|
CHECK: @FILE
|