summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-size/help.test
blob: 6489134a0b70a0c25e488e885b41c2ce1ef6dc25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
## 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
OpenPOWER on IntegriCloud