From: Reid Kleckner Date: Wed, 26 Jul 2017 22:11:30 +0000 (+0000) Subject: [lit] Fix shtest-output-printing.py on Windows by matching either / or \\ X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=70c636feea84b96af306fb2c01448c1d696f44a8;p=llvm [lit] Fix shtest-output-printing.py on Windows by matching either / or \\ Fixes PR33938 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309198 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/lit/tests/shtest-output-printing.py b/utils/lit/tests/shtest-output-printing.py index a8a99e3c195..2a85cf975c9 100644 --- a/utils/lit/tests/shtest-output-printing.py +++ b/utils/lit/tests/shtest-output-printing.py @@ -1,8 +1,5 @@ # Check the various features of the ShTest format. # -# PR33938 -# XFAIL: windows -# # RUN: not %{lit} -j 1 -v %{inputs}/shtest-output-printing > %t.out # RUN: FileCheck --input-file %t.out %s # @@ -25,7 +22,7 @@ # CHECK-NEXT: hi # # CHECK: $ "wc" "missing-file" -# CHECK-NEXT: # redirected output from '{{.*}}/basic.txt.tmp.out': +# CHECK-NEXT: # redirected output from '{{.*(/|\\\\)}}basic.txt.tmp.out': # CHECK-NEXT: missing-file{{.*}} No such file or directory # CHECK: note: command had no output on stdout or stderr # CHECK-NEXT: error: command failed with exit status: 1