[all-commits] [llvm/llvm-project] 2089e7: [libc++] Try to fix cross-loading of lit.local.cfg...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Tue Oct 27 13:28:51 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 2089e762d00cbfdc8db55fd61f55e2f7efa46f67
https://github.com/llvm/llvm-project/commit/2089e762d00cbfdc8db55fd61f55e2f7efa46f67
Author: Louis Dionne <ldionne at apple.com>
Date: 2020-10-27 (Tue, 27 Oct 2020)
Changed paths:
M libcxx/test/libcxx/input.output/file.streams/lit.local.cfg
M libcxx/test/libcxx/input.output/iostream.format/lit.local.cfg
M libcxx/test/libcxx/input.output/iostream.objects/lit.local.cfg
M libcxx/test/libcxx/input.output/iostreams.base/lit.local.cfg
M libcxx/test/libcxx/input.output/stream.buffers/lit.local.cfg
M libcxx/test/libcxx/input.output/string.streams/lit.local.cfg
M libcxx/test/libcxx/localization/lit.local.cfg
Log Message:
-----------
[libc++] Try to fix cross-loading of lit.local.cfg on Windows
On windows, the previous path replacement using forward slashes wouldn't
work, and so we'd end up including the same file again. We would do that
until we'd hit the recursion limit of the Python interpreter.
Instead, use `os.path` to properly replace without assuming a specific
path separator.
More information about the All-commits
mailing list