]> granicus.if.org Git - llvm/commitdiff
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.

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

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

index 1caff2a37148bb7d9483f86fa81d7ecfe7629019..d2c592e501c8a7f631a9c488265cf51bab6af2e2 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 27e06c6d5f4f0dc89eecf60ad77245db8cf837d9..45592ddd2cd99a2f48c253cb979116905e1a60bf 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.