[llvm] b6bd9d2 - [lit] Fix yet another test fail under windows

Joel E. Denny via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 29 12:38:25 PDT 2023


Author: Joel E. Denny
Date: 2023-08-29T14:55:51-04:00
New Revision: b6bd9d275f783f8150c8a04145ef2a31edb4fddf

URL: https://github.com/llvm/llvm-project/commit/b6bd9d275f783f8150c8a04145ef2a31edb4fddf
DIFF: https://github.com/llvm/llvm-project/commit/b6bd9d275f783f8150c8a04145ef2a31edb4fddf.diff

LOG: [lit] Fix yet another test fail under windows

Another shell-quoting issue.

Seen in <https://lab.llvm.org/buildbot/#/builders/216/builds/26442>.

Added: 
    

Modified: 
    llvm/utils/lit/tests/shtest-output-printing.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/lit/tests/shtest-output-printing.py b/llvm/utils/lit/tests/shtest-output-printing.py
index 3e49197520a977..129cff981eb5b2 100644
--- a/llvm/utils/lit/tests/shtest-output-printing.py
+++ b/llvm/utils/lit/tests/shtest-output-printing.py
@@ -31,8 +31,8 @@
 #  CHECK-NEXT: # error: command failed with exit status: 1
 #  CHECK-NEXT: # executed command: true
 #  CHECK-NEXT: # RUN: at line 4
-#  CHECK-NEXT: not {{.*}}/python{{.*}} {{.*}}/write-a-lot.py &> [[FILE:.*]]
-#  CHECK-NEXT: # executed command: not {{.*}}/python{{.*}} {{.*}}/write-a-lot.py
+#  CHECK-NEXT: not {{.*}}python{{.*}} {{.*}}write-a-lot.py &> [[FILE:.*]]
+#  CHECK-NEXT: # executed command: not {{.*}}python{{.*}} {{.*}}write-a-lot.py{{.*}}
 #  CHECK-NEXT: # .---redirected output from '[[FILE]]'
 #  CHECK-NEXT: # | All work and no play makes Jack a dull boy.
 #  CHECK-NEXT: # | All work and no play makes Jack a dull boy.


        


More information about the llvm-commits mailing list