diff options
Diffstat (limited to 'llvm/test/tools/llvm-strings/help.test')
-rw-r--r-- | llvm/test/tools/llvm-strings/help.test | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/llvm/test/tools/llvm-strings/help.test b/llvm/test/tools/llvm-strings/help.test index 9c3f932abae..d5d4ca80a4f 100644 --- a/llvm/test/tools/llvm-strings/help.test +++ b/llvm/test/tools/llvm-strings/help.test @@ -1,7 +1,15 @@ -RUN: llvm-strings -h | FileCheck %s -RUN: llvm-strings --help | FileCheck %s +## 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 CHECK: OVERVIEW: llvm string dumper CHECK: USAGE: llvm-strings{{(.exe)?}} [options] <input object files>{{$}} CHECK: OPTIONS: +CATEG: General options: +LIST-NOT: General options: +CATEG: Generic Options: +LIST-NOT: Generic Options: CHECK: @FILE |