[llvm] r352735 - Fixup test after r352704 since it changes how paths may be emitted.
Douglas Yung via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 30 23:58:35 PST 2019
Author: dyung
Date: Wed Jan 30 23:58:34 2019
New Revision: 352735
URL: http://llvm.org/viewvc/llvm-project?rev=352735&view=rev
Log:
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.
Modified:
llvm/trunk/test/FileCheck/check-empty.txt
llvm/trunk/test/FileCheck/dump-input-enable.txt
Modified: llvm/trunk/test/FileCheck/check-empty.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FileCheck/check-empty.txt?rev=352735&r1=352734&r2=352735&view=diff
==============================================================================
--- llvm/trunk/test/FileCheck/check-empty.txt (original)
+++ llvm/trunk/test/FileCheck/check-empty.txt Wed Jan 30 23:58:34 2019
@@ -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
Modified: llvm/trunk/test/FileCheck/dump-input-enable.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FileCheck/dump-input-enable.txt?rev=352735&r1=352734&r2=352735&view=diff
==============================================================================
--- llvm/trunk/test/FileCheck/dump-input-enable.txt (original)
+++ llvm/trunk/test/FileCheck/dump-input-enable.txt Wed Jan 30 23:58:34 2019
@@ -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.
More information about the llvm-commits
mailing list