================ @@ -0,0 +1,20 @@ +// Test ssaf-linker help option + +// RUN: ssaf-linker --help-list-hidden | FileCheck %s + +// CHECK: OVERVIEW: SSAF Linker +// CHECK-EMPTY: +// CHECK: USAGE: ssaf-linker [options] <input files> +// CHECK-EMPTY: +// CHECK: OPTIONS: +// CHECK: -h - Alias for --help +// CHECK: --help - Display available options (--help-hidden for more) +// CHECK: --help-hidden - Display all available options +// CHECK: --help-list - Display list of available options (--help-list-hidden for more) +// CHECK: --help-list-hidden - Display list of all available options +// CHECK: -o <path> - Output summary path +// CHECK: --print-all-options - Print all option values after command line parsing +// CHECK: --print-options - Print non-default options after command line parsing +// CHECK: --time - Enable timing +// CHECK: --verbose - Enable verbose output +// CHECK: --version - Display the version of this program ---------------- steakhal wrote:
You probably wanted to use ` // CHECK-NEXT` instead of just CHECKs. Same goes for almost all tests. Subsequent CHECK lines usually use -NEXT to ensure that there is no unmatches line between. https://github.com/llvm/llvm-project/pull/184713 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
