Relax debug-map-parsing.test error message check for Windows
authorReid Kleckner <reid@kleckner.net>
Fri, 12 Dec 2014 18:52:07 +0000 (18:52 +0000)
committerReid Kleckner <reid@kleckner.net>
Fri, 12 Dec 2014 18:52:07 +0000 (18:52 +0000)
On Windows we get the string "no such file or directory".

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224141 91177308-0d34-0410-b5e6-96231b3b80d8

test/tools/dsymutil/debug-map-parsing.test

index 11d2fa770917a26bfd1b137df6c65e760563d334..4fa7e715b97c25f819ac8e9194b4ddb4b83a6dc2 100644 (file)
@@ -36,13 +36,13 @@ CHECK-LTO: END DEBUG MAP
 Check that we warn about missing object files (this presumes that the files aren't
 present in the machine's /Inputs/ folder, which should be a pretty safe bet).
 
-NOT-FOUND: cannot open{{.*}}"/Inputs/basic1.macho.x86_64.o": No such file
-NOT-FOUND: cannot open{{.*}}"/Inputs/basic2.macho.x86_64.o": No such file
-NOT-FOUND: cannot open{{.*}}"/Inputs/basic3.macho.x86_64.o": No such file
+NOT-FOUND: cannot open{{.*}}"/Inputs/basic1.macho.x86_64.o": {{[Nn]o}} such file
+NOT-FOUND: cannot open{{.*}}"/Inputs/basic2.macho.x86_64.o": {{[Nn]o}} such file
+NOT-FOUND: cannot open{{.*}}"/Inputs/basic3.macho.x86_64.o": {{[Nn]o}} such file
 NOT-FOUND: DEBUG MAP:
 NOT-FOUND-NEXT: END DEBUG MAP
 
 Check that we correctly error out on invalid executatble.
 
-NO-EXECUTABLE: cannot parse{{.*}}/inexistant": No such file
+NO-EXECUTABLE: cannot parse{{.*}}/inexistant": {{[Nn]o}} such file
 NO-EXECUTABLE-NOT: DEBUG MAP