summaryrefslogtreecommitdiffstats
path: root/llvm/test/FileCheck/string-defines-diagnostics.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/FileCheck/string-defines-diagnostics.txt')
-rw-r--r--llvm/test/FileCheck/string-defines-diagnostics.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/llvm/test/FileCheck/string-defines-diagnostics.txt b/llvm/test/FileCheck/string-defines-diagnostics.txt
index 60adff47e1d..cc944e0fcee 100644
--- a/llvm/test/FileCheck/string-defines-diagnostics.txt
+++ b/llvm/test/FileCheck/string-defines-diagnostics.txt
@@ -26,24 +26,24 @@ ERRCLIVAR2: Missing variable name in command-line definition '-D='
; Invalid variable name: starts with a digit.
RUN: not FileCheck -D10VALUE=10 --input-file %s %s 2>&1 \
-RUN: | FileCheck %s --strict-whitespace --check-prefix ERRCLIFMT
+RUN: | FileCheck %s --strict-whitespace --match-full-lines --check-prefix ERRCLIFMT
-ERRCLIFMT: Global defines:1:19: error: invalid variable name
-ERRCLIFMT-NEXT: Global define #1: 10VALUE=10
-ERRCLIFMT-NEXT: {{^ \^$}}
+ERRCLIFMT:Global defines:1:19: error: invalid variable name
+ERRCLIFMT-NEXT:Global define #1: 10VALUE=10
+ERRCLIFMT-NEXT: ^
; Invalid definition of pseudo variable.
RUN: not FileCheck -D@VALUE=10 --input-file %s %s 2>&1 \
-RUN: | FileCheck %s --strict-whitespace --check-prefix ERRCLIPSEUDO
+RUN: | FileCheck %s --strict-whitespace --match-full-lines --check-prefix ERRCLIPSEUDO
-ERRCLIPSEUDO: Global defines:1:19: error: invalid name in string variable definition '@VALUE'
-ERRCLIPSEUDO-NEXT: Global define #1: @VALUE=10
-ERRCLIPSEUDO-NEXT: {{^ \^$}}
+ERRCLIPSEUDO:Global defines:1:19: error: invalid name in string variable definition '@VALUE'
+ERRCLIPSEUDO-NEXT:Global define #1: @VALUE=10
+ERRCLIPSEUDO-NEXT: ^
; Invalid definition of an expression.
RUN: not FileCheck -D'VALUE + 2=10' --input-file %s %s 2>&1 \
RUN: | FileCheck %s --strict-whitespace --check-prefix ERRCLITRAIL
-ERRCLITRAIL: Global defines:1:19: error: invalid name in string variable definition 'VALUE + 2'
-ERRCLITRAIL-NEXT: Global define #1: VALUE + 2=10
-ERRCLITRAIL-NEXT: {{^ \^$}}
+ERRCLITRAIL:Global defines:1:19: error: invalid name in string variable definition 'VALUE + 2'
+ERRCLITRAIL-NEXT:Global define #1: VALUE + 2=10
+ERRCLITRAIL-NEXT: ^
OpenPOWER on IntegriCloud