From: Douglas Yung Date: Thu, 31 Jan 2019 07:58:34 +0000 (+0000) Subject: Fixup test after r352704 since it changes how paths may be emitted. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8829dedd761441dba49e758858177a32dfe116a1;p=llvm Fixup test after r352704 since it changes how paths may be emitted. 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 --- diff --git a/test/FileCheck/check-empty.txt b/test/FileCheck/check-empty.txt index 1caff2a3714..d2c592e501c 100644 --- a/test/FileCheck/check-empty.txt +++ b/test/FileCheck/check-empty.txt @@ -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 diff --git a/test/FileCheck/dump-input-enable.txt b/test/FileCheck/dump-input-enable.txt index 27e06c6d5f4..45592ddd2cd 100644 --- a/test/FileCheck/dump-input-enable.txt +++ b/test/FileCheck/dump-input-enable.txt @@ -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.