From fa83d5a39889f8fee6cb95400af2d4ce3d2e4da3 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Wed, 26 Jul 2017 22:11:30 +0000 Subject: [PATCH] [lit] Fix shtest-output-printing.py on Windows by matching either / or \\ Fixes PR33938 llvm-svn: 309198 --- llvm/utils/lit/tests/shtest-output-printing.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/llvm/utils/lit/tests/shtest-output-printing.py b/llvm/utils/lit/tests/shtest-output-printing.py index a8a99e3..2a85cf9 100644 --- a/llvm/utils/lit/tests/shtest-output-printing.py +++ b/llvm/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 -- 2.7.4