[XRay] Be case-insensitive for error strings
authorDean Michael Berris <dberris@google.com>
Wed, 26 Oct 2016 05:10:39 +0000 (05:10 +0000)
committerDean Michael Berris <dberris@google.com>
Wed, 26 Oct 2016 05:10:39 +0000 (05:10 +0000)
On Windows, "no such file or directory" is the default error translation
as opposed to the capitalized form on Linux.

llvm-svn: 285174

llvm/test/tools/llvm-xray/X86/no-such-file.txt

index 0bc0b5b..69fc43f 100644 (file)
@@ -1,4 +1,4 @@
 ; RUN: not llvm-xray extract no-such-file 2>&1 | FileCheck %s
 
 ; CHECK: llvm-xray: Cannot extract instrumentation map from 'no-such-file'.
-; CHECK-NEXT: No such file or directory
+; CHECK-NEXT: {{[Nn]}}o such file or directory