[llvm] r362167 - Update the tests in r362121 / r362141 to allow for Windows-specific error

Michael Trent via llvm-commits llvm-commits at lists.llvm.org
Thu May 30 15:11:29 PDT 2019


Author: mtrent
Date: Thu May 30 15:11:29 2019
New Revision: 362167

URL: http://llvm.org/viewvc/llvm-project?rev=362167&view=rev
Log:
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.


Modified:
    llvm/trunk/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test

Modified: llvm/trunk/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test?rev=362167&r1=362166&r2=362167&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test (original)
+++ llvm/trunk/test/tools/llvm-objdump/X86/macho-disassemble-g-dsym.test Thu May 30 15:11:29 2019
@@ -18,4 +18,5 @@ BAD_INPUT: is not a Mach-O or Universal
 
 // 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




More information about the llvm-commits mailing list