From: Michael Trent Date: Thu, 30 May 2019 22:11:29 +0000 (+0000) Subject: Update the tests in r362121 / r362141 to allow for Windows-specific error X-Git-Tag: android-x86-9.0-r1~2689 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9a06469c4cd19144c32b253832ffc4ae32b1b76e;p=android-x86%2Fexternal-llvm.git Update the tests in r362121 / r362141 to allow for Windows-specific error messages: "Is a directory" instead of "is a directory" This should resolve the errors being reported on clang-x64-windows-msvc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362167 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test b/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test index c4841bbcb52..a312999bfb0 100644 --- a/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test +++ b/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test @@ -18,4 +18,5 @@ BAD_INPUT: is not a Mach-O or Universal file type. // RUN: not llvm-objdump -m -d -g -dsym %p/Inputs %p/Inputs/hello-macho-thin 2>&1 | FileCheck -check-prefix DIRECTORY %s -DIRECTORY: Is a directory +// Windows will emit "Is a directory", whereas others emit "is a directory" +DIRECTORY: {{[iI]}}s a directory