Skip to content

Commit 3bbb7c1

Browse files
committed
Use %ProtectFileCheckOutput instead of -color=0
1 parent 90dec31 commit 3bbb7c1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/test/FileCheck/empty-variable-name.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
a
22

3-
; RUN: not FileCheck -color=0 -input-file %s %s 2>&1 | \
3+
; RUN: %ProtectFileCheckOutput not FileCheck -input-file %s %s 2>&1 | \
44
; RUN: FileCheck -check-prefix CHECK-ERROR -DDIR=%S \
55
; RUN: --match-full-lines --strict-whitespace %s
66

@@ -11,7 +11,7 @@ a
1111

1212
b
1313

14-
; RUN: not FileCheck -color=0 -input-file %s -check-prefix CHECK-PSEUDO %s 2>&1 | \
14+
; RUN: %ProtectFileCheckOutput not FileCheck -input-file %s -check-prefix CHECK-PSEUDO %s 2>&1 | \
1515
; RUN: FileCheck -check-prefix CHECK-ERROR-PSEUDO -DDIR=%S \
1616
; RUN: --match-full-lines --strict-whitespace %s
1717

@@ -22,7 +22,7 @@ b
2222

2323
c
2424

25-
; RUN: not FileCheck -color=0 -input-file %s -check-prefix CHECK-GLOBAL %s 2>&1 | \
25+
; RUN: %ProtectFileCheckOutput not FileCheck -input-file %s -check-prefix CHECK-GLOBAL %s 2>&1 | \
2626
; RUN: FileCheck -check-prefix CHECK-ERROR-GLOBAL -DDIR=%S \
2727
; RUN: --match-full-lines --strict-whitespace %s
2828

0 commit comments

Comments
 (0)