OSDN Git Service

Fix dwarfdump cmdline test on Windows
authorReid Kleckner <rnk@google.com>
Wed, 13 Sep 2017 01:50:27 +0000 (01:50 +0000)
committerReid Kleckner <rnk@google.com>
Wed, 13 Sep 2017 01:50:27 +0000 (01:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313110 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/llvm-dwarfdump/X86/cmdline.test

index 24efd76..2e57fd2 100644 (file)
@@ -1,6 +1,6 @@
 RUN: llvm-dwarfdump -h 2>&1 | FileCheck --check-prefix=HELP %s
 RUN: llvm-dwarfdump --help 2>&1 | FileCheck --check-prefix=HELP %s
-HELP: USAGE: llvm-dwarfdump [options] <input object files or .dSYM bundles>
+HELP: USAGE: llvm-dwarfdump{{[^ ]*}} [options] <input object files or .dSYM bundles>
 HELP: Section-specific Dump Options
 HELP: -debug-info            - Dump the .debug_info section
 HELP-NOT: -reverse-iterate