]> granicus.if.org Git - llvm/commitdiff
Fix defines.txt
authorThomas Preud'homme <thomasp@graphcore.ai>
Mon, 14 Jan 2019 10:10:48 +0000 (10:10 +0000)
committerThomas Preud'homme <thomasp@graphcore.ai>
Mon, 14 Jan 2019 10:10:48 +0000 (10:10 +0000)
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

test/FileCheck/defines.txt

index 05d1b7bcfe8b1efab3c69efea043efa4b9c67649..24947b250dd64f68c4358e6c5b0864dacefc6d10 100644 (file)
@@ -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'