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

16 lines
515 B
Plaintext
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
## Show that help text is printed correctly when requested.
RUN: llvm-size -h | FileCheck %s --check-prefixes=CHECK,CATEG
RUN: llvm-size --help | FileCheck %s --check-prefixes=CHECK,CATEG
RUN: llvm-size --help-list \
RUN: | FileCheck %s --check-prefixes=CHECK,LIST
CHECK: OVERVIEW: llvm object size dumper
CHECK: USAGE: llvm-size{{(.exe)?}} [options] <input files>{{$}}
CHECK: OPTIONS:
CATEG: Generic Options:
LIST-NOT: Generic Options:
CATEG: llvm-size Options:
LIST-NOT: llvm-size Options:
CHECK: @FILE