[llvm] Fix test added in #155148 work with Windows style path separators. (PR #155354)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 25 21:48:13 PDT 2025
https://github.com/dyung created https://github.com/llvm/llvm-project/pull/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.
>From 3b0d3e2d70b4362c14f43533016db55d45f521e3 Mon Sep 17 00:00:00 2001
From: Douglas Yung <douglas.yung at sony.com>
Date: Tue, 26 Aug 2025 00:44:02 -0400
Subject: [PATCH] Fix test added in #155148 work with Windows style path
separators.
Should fix Windows build bot failures such as https://lab.llvm.org/buildbot/#/builders/46/builds/22281.
---
llvm/utils/lit/tests/pass-test-update.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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