From: Thomas Preud'homme <thomasp@graphcore.ai>
Date: Mon, 14 Jan 2019 10:10:48 +0000 (+0000)
Subject: Fix defines.txt
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bd6bff77d7b488f218c2ffe7b2d853b13bef49a5;p=llvm

Fix defines.txt

Support arbitrary suffix when matching FileCheck executable name in
defines.txt to successfully match FileCheck.EXE on Microsoft Windows.

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

diff --git a/test/FileCheck/defines.txt b/test/FileCheck/defines.txt
index 05d1b7bcfe8..24947b250dd 100644
--- a/test/FileCheck/defines.txt
+++ b/test/FileCheck/defines.txt
@@ -24,7 +24,7 @@ Value = 10
 
 ; ERRCLIEQ1: Missing equal sign in command-line definition '-DVALUE10'
 
-; ERRCLIEQ2: FileCheck: for the -D option: requires a value!
+; ERRCLIEQ2: FileCheck{{[^:]*}}: for the -D option: requires a value!
 
 ; ERRCLIVAR1: Missing pattern variable name in command-line definition '-D=10'