Fixup test after r352704 since it changes how paths may be emitted.
authorDouglas Yung <douglas.yung@sony.com>
Thu, 31 Jan 2019 07:58:34 +0000 (07:58 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Thu, 31 Jan 2019 07:58:34 +0000 (07:58 +0000)
On Unix/Mac OS X, normpath() returns the path unchanged (FileCheck), but
on case-insensitive filesystems (like NTFS on Windows), it converts the
path to lowercase (filecheck) which was causing the test to fail.

llvm-svn: 352735

llvm/test/FileCheck/check-empty.txt
llvm/test/FileCheck/dump-input-enable.txt

index 1caff2a..d2c592e 100644 (file)
@@ -7,6 +7,6 @@
 ; NOFOO-NOT: foo
 
 ; EMPTY-ERR: FileCheck error: '-' is empty.
-; EMPTY-ERR-NEXT: FileCheck command line: {{.*}}FileCheck{{.*}}-check-prefix={{.*}}FOO {{.*}}check-empty.txt
+; EMPTY-ERR-NEXT: FileCheck command line: {{.*}}{{F|f}}ile{{C|c}}heck{{.*}}-check-prefix={{.*}}FOO {{.*}}check-empty.txt
 ; NO-EMPTY-ERR-NOT: FileCheck error: '-' is empty.
 ; NOT-FOUND: error: FOO: expected string not found in input
index 27e06c6..45592dd 100644 (file)
@@ -26,7 +26,7 @@
 ; RUN: not FileCheck -dump-input=foobar 2>&1 \
 ; RUN: | FileCheck %s -match-full-lines -check-prefix=BADVAL
 
-BADVAL: FileCheck{{.*}}: for the -dump-input option: Cannot find option named 'foobar'!
+BADVAL: {{F|f}}ile{{C|c}}heck{{.*}}: for the -dump-input option: Cannot find option named 'foobar'!
 
 ;--------------------------------------------------
 ; Check -dump-input=help.