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

16 lines
515 B
Plaintext

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