Skip to content

Commit b9735db

Browse files
committed
[lit] Work around windows issue in new test from 28412d1
Based on result shown at: <https://lab.llvm.org/buildbot/#/builders/216/builds/10120>
1 parent 96d6e68 commit b9735db

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed
Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1+
# FIXME: The doubled backslashes occur under windows. That's almost surely a
2+
# lit issue beyond DEFINE/REDEFINE.
3+
14
# Escape sequences that can appear in python re.sub replacement strings have no
25
# special meaning in the value.
36

47
# DEFINE: %{escape} = \g<0>\n
58
# RUN: echo '%{escape}'
6-
# CHECK: \g<0>\n
9+
# CHECK: {{\\?}}\g<0>{{\\?}}\n
710

811
# REDEFINE: %{escape} = \n \
912
# REDEFINE: \g<param>
1013
# RUN: echo '%{escape}'
11-
# CHECK: \n \g<param>
14+
# CHECK: {{\\?}}\n {{\\?}}\g<param>
1215

1316
# CHECK: Passed: 1

0 commit comments

Comments
 (0)