[llvm] 7d35e29 - Fix test added in #155148 work with Windows style path separators. (#155354)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 22:15:18 PDT 2025
Author: dyung
Date: 2025-08-26T05:15:15Z
New Revision: 7d35e29d7a7f89c828e91c03d3827a43deaa5dec
URL: https://github.com/llvm/llvm-project/commit/7d35e29d7a7f89c828e91c03d3827a43deaa5dec
DIFF: https://github.com/llvm/llvm-project/commit/7d35e29d7a7f89c828e91c03d3827a43deaa5dec.diff
LOG: Fix test added in #155148 work with Windows style path separators. (#155354)
Should fix Windows build bot failures such as
https://lab.llvm.org/buildbot/#/builders/46/builds/22281.
The test (and the followup fix in #155303) did not properly account for
Windows style path separators.
Added:
Modified:
llvm/utils/lit/tests/pass-test-update.py
Removed:
################################################################################
diff --git a/llvm/utils/lit/tests/pass-test-update.py b/llvm/utils/lit/tests/pass-test-update.py
index f23bce9838f35..00a4025be660e 100644
--- a/llvm/utils/lit/tests/pass-test-update.py
+++ b/llvm/utils/lit/tests/pass-test-update.py
@@ -13,7 +13,7 @@
# CHECK: Traceback (most recent call last):
# CHECK: File {{.*}}, line {{.*}}, in {{.*}}
# CHECK: update_output = test_updater(result, test)
-# CHECK: File "{{.*}}/should_not_run.py", line {{.*}}, in should_not_run
+# CHECK: File "{{.*}}{{/|\\}}should_not_run.py", line {{.*}}, in should_not_run
# CHECK: raise Exception("this test updater should only run on failure")
# CHECK: Exception: this test updater should only run on failure
# CHECK: ********************
More information about the llvm-commits
mailing list