[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / llvm-size / help.test
blob6489134a0b70a0c25e488e885b41c2ce1ef6dc25
1 ## Show that help text is printed correctly when requested.
3 RUN: llvm-size -h | FileCheck %s --check-prefixes=CHECK,CATEG
4 RUN: llvm-size --help | FileCheck %s --check-prefixes=CHECK,CATEG
5 RUN: llvm-size --help-list \
6 RUN:   | FileCheck %s --check-prefixes=CHECK,LIST
8 CHECK: OVERVIEW: llvm object size dumper
9 CHECK: USAGE: llvm-size{{(.exe)?}} [options] <input files>{{$}}
10 CHECK: OPTIONS:
11 CATEG:    Generic Options:
12 LIST-NOT: Generic Options:
13 CATEG:    llvm-size Options:
14 LIST-NOT: llvm-size Options:
15 CHECK: @FILE