From a4938433720b54683f5b5da4ae4d1882c5a99766 Mon Sep 17 00:00:00 2001 From: Douglas Yung Date: Thu, 31 Jan 2019 07:58:34 +0000 Subject: [PATCH] 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. llvm-svn: 352735 --- llvm/test/FileCheck/check-empty.txt | 2 +- llvm/test/FileCheck/dump-input-enable.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/llvm/test/FileCheck/check-empty.txt b/llvm/test/FileCheck/check-empty.txt index 1caff2a..d2c592e 100644 --- a/llvm/test/FileCheck/check-empty.txt +++ b/llvm/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/llvm/test/FileCheck/dump-input-enable.txt b/llvm/test/FileCheck/dump-input-enable.txt index 27e06c6..45592dd 100644 --- a/llvm/test/FileCheck/dump-input-enable.txt +++ b/llvm/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. -- 2.7.4