Skip to content

Commit dedcf34

Browse files
committed
Allow backslashes as path separators; should fix tests on Windows
1 parent 6974c78 commit dedcf34

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
@@ -5,7 +5,7 @@ a
55
; RUN: --match-full-lines --strict-whitespace %s
66

77
; CHECK: a[[]]
8-
; CHECK-ERROR:[[DIR]]/empty-variable-name.txt:7:13: error: empty variable name
8+
; CHECK-ERROR:[[DIR]]{{/|\\}}empty-variable-name.txt:7:13: error: empty variable name
99
; CHECK-ERROR-NEXT:; CHECK: a{{\[\[\]\]}}
1010
; CHECK-ERROR-NEXT: ^
1111

@@ -16,7 +16,7 @@ b
1616
; RUN: --match-full-lines --strict-whitespace %s
1717

1818
; CHECK-PSEUDO: b[[@]]
19-
; CHECK-ERROR-PSEUDO:[[DIR]]/empty-variable-name.txt:18:21: error: empty pseudo variable name
19+
; CHECK-ERROR-PSEUDO:[[DIR]]{{/|\\}}empty-variable-name.txt:18:21: error: empty pseudo variable name
2020
; CHECK-ERROR-PSEUDO-NEXT:; CHECK-PSEUDO: b{{\[\[@\]\]}}
2121
; CHECK-ERROR-PSEUDO-NEXT: ^
2222

@@ -27,6 +27,6 @@ c
2727
; RUN: --match-full-lines --strict-whitespace %s
2828

2929
; CHECK-GLOBAL: c[[$]]
30-
; CHECK-ERROR-GLOBAL:[[DIR]]/empty-variable-name.txt:29:21: error: empty global variable name
30+
; CHECK-ERROR-GLOBAL:[[DIR]]{{/|\\}}empty-variable-name.txt:29:21: error: empty global variable name
3131
; CHECK-ERROR-GLOBAL-NEXT:; CHECK-GLOBAL: c{{\[\[\$\]\]}}
3232
; CHECK-ERROR-GLOBAL-NEXT: ^

0 commit comments

Comments
 (0)