[llvm] 40b129a - [llvm-lit] Fix test checks for print-relative-path.py
Bjorn Pettersson via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 21 04:28:39 PDT 2025
Author: Bjorn Pettersson
Date: 2025-08-21T13:28:26+02:00
New Revision: 40b129a9bdcc69bec55fe9500bebeec987eaf475
URL: https://github.com/llvm/llvm-project/commit/40b129a9bdcc69bec55fe9500bebeec987eaf475
DIFF: https://github.com/llvm/llvm-project/commit/40b129a9bdcc69bec55fe9500bebeec987eaf475.diff
LOG: [llvm-lit] Fix test checks for print-relative-path.py
Make sure we support windows style paths.
This is a fixup for #154317
Added:
Modified:
llvm/utils/lit/tests/print-relative-path.py
Removed:
################################################################################
diff --git a/llvm/utils/lit/tests/print-relative-path.py b/llvm/utils/lit/tests/print-relative-path.py
index 7f3809ccd0121..62a678691fb5d 100644
--- a/llvm/utils/lit/tests/print-relative-path.py
+++ b/llvm/utils/lit/tests/print-relative-path.py
@@ -13,6 +13,6 @@
# CHECK-RELATIVE: PASS: print-relative-path :: test.txt (1 of 2)
# CHECK-RELATIVE: FAIL: print-relative-path :: test2.txt (2 of 2)
# CHECK-RELATIVE: Passed Tests (1):
-# CHECK-RELATIVE: Inputs/print-relative-path/test.txt
+# CHECK-RELATIVE: Inputs[/\\]print-relative-path[/\\]test.txt
# CHECK-RELATIVE: Failed Tests (1):
-# CHECK-RELATIVE: Inputs/print-relative-path/test2.txt
+# CHECK-RELATIVE: Inputs[/\\]print-relative-path[/\\]test2.txt
More information about the llvm-commits
mailing list