diff options
author | Martin Storsjö <martin@martin.st> | 2025-09-24 22:00:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-09-24 22:00:52 +0300 |
commit | 6e904e89cb97fa113c95f746942e04226a7d2207 (patch) | |
tree | 1e72d6066c07c36903e238c2792c33a6372ad403 /llvm/lib/MC/MCObjectFileInfo.cpp | |
parent | 59b4074037827290f97eeac512c3f8332cf23457 (diff) | |
download | llvm-6e904e89cb97fa113c95f746942e04226a7d2207.zip llvm-6e904e89cb97fa113c95f746942e04226a7d2207.tar.gz llvm-6e904e89cb97fa113c95f746942e04226a7d2207.tar.bz2 |
[lit] [test] Fix the shtest-readfile test on Python 3.13 on Windows (#160503)
Python 3.13 considers "/file/does/not/exist" to not be an absolute path
on Windows, so the test runner does os.path.join(cwd, filePath), which
can end up with an output path such as "D:/file/does/not/exist".
Accept a potential prefix before the missing path here.
This fixes running the lit tests on Windows with Python 3.13.
Diffstat (limited to 'llvm/lib/MC/MCObjectFileInfo.cpp')
0 files changed, 0 insertions, 0 deletions