[llvm-lit] Fix test checks for print-relative-path.py

Make sure we support windows style paths.

This is a fixup for #154317
This commit is contained in:
Bjorn Pettersson 2025-08-21 13:28:00 +02:00
parent 5ef28e0a88
commit 40b129a9bd
No known key found for this signature in database
GPG Key ID: 07E53FDAB1AFBA1F

View File

@ -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