[libcxx-commits] [libcxx] [libcxx][lit] Fix dsl.sh.py test failure on Windows (PR #195230)
via libcxx-commits
libcxx-commits at lists.llvm.org
Fri May 1 11:59:35 PDT 2026
zeroomega wrote:
> Is it possible to make this a bit more specific and only canonicalize if we're in the cross-compilation remote running test scenario? I would guess there's something in the lit config that we can condition off of.
I currently don't have a good way to detect the environment like that.
The issue is not cross compile, if you read the discussion in https://github.com/llvm/llvm-project/pull/194752 , the actual issue is that the code was compiled to Linux target, then execute remotely on a Linux host, but the output was examined by dsl.sh.py on Windows. So the line break check in the test and the actual test output do not match.
The environment info in the lit.Config and self.config doesn't seem to have these info in them. At least I don't have a immediate solution for it.
https://github.com/llvm/llvm-project/pull/195230
More information about the libcxx-commits
mailing list