[lit] Work around windows issue in new test from 28412d1800e3
authorJoel E. Denny <jdenny.ornl@gmail.com>
Wed, 21 Sep 2022 17:27:41 +0000 (13:27 -0400)
committerJoel E. Denny <jdenny.ornl@gmail.com>
Wed, 21 Sep 2022 17:27:41 +0000 (13:27 -0400)
Based on result shown at:

<https://lab.llvm.org/buildbot/#/builders/216/builds/10120>

llvm/utils/lit/tests/Inputs/shtest-define/value-escaped.txt

index 844d53e..58d5c1a 100644 (file)
@@ -1,13 +1,16 @@
+# FIXME: The doubled backslashes occur under windows.  That's almost surely a
+# lit issue beyond DEFINE/REDEFINE.
+
 # Escape sequences that can appear in python re.sub replacement strings have no
 # special meaning in the value.
 
 # DEFINE: %{escape} = \g<0>\n
 # RUN: echo '%{escape}'
-# CHECK: \g<0>\n
+# CHECK: {{\\?}}\g<0>{{\\?}}\n
 
 # REDEFINE: %{escape} = \n                                                     \
 # REDEFINE:             \g<param>
 # RUN: echo '%{escape}'
-# CHECK: \n \g<param>
+# CHECK: {{\\?}}\n {{\\?}}\g<param>
 
 # CHECK: Passed: 1