Fix compiletest path-related issues on Windows#154844
Fix compiletest path-related issues on Windows#154844rust-bors[bot] merged 2 commits intorust-lang:mainfrom
compiletest path-related issues on Windows#154844Conversation
|
Some changes occurred in src/tools/compiletest cc @jieyouxu |
|
r? @clubby789 rustbot has assigned @clubby789. Use Why was this reviewer chosen?The reviewer was selected based on:
|
|
r? me |
There was a problem hiding this comment.
Thanks. I tested this on MSYS2 MINGW64 locally with lldb 22.1.2 via mingw-w64-clang-x86_64-lldb. At least things seem no more broken than before. I can reproduce the same 3 test failures.
@bors r+ rollup=iffy
AFAIK only |
This comment has been minimized.
This comment has been minimized.
What is this?This is an experimental post-merge analysis report that shows differences in test outcomes between the merged PR and its parent PR.Comparing 906ca7f (parent) -> fff9e44 (this PR) Test differencesShow 3 test diffs3 doctest diffs were found. These are ignored, as they are noisy. Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard fff9e4432233df859e4fadb30ab7f0eda22580a6 --output-dir test-dashboardAnd then open Job duration changes
How to interpret the job duration changes?Job durations can vary a lot, based on the actual runner instance |
|
Finished benchmarking commit (fff9e44): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)This benchmark run did not return any relevant results for this metric. CyclesResults (secondary -3.4%)A less reliable metric. May be of interest, but not used to determine the overall result above.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 487.434s -> 488.874s (0.30%) |
fixes the issues mentioned here. With these changes I'm able to run
./x test tests/debuginfoonx86_64-pc-windows-gnuwithout any issues.As mentioned in the link though, there are 3 tests that currently fail when run on windows, but that pass on whatever CI targets actually run
tests/debuginfo.I'm not sure if
target_run_lib_pathreally needs to be prepended on all targets (it absolutely does for Windows though), but i figure it can't hurt. Also made sure the path separators are correct per-platform.The
lldb_batchmodechange prevents the tests from hanging forever. I'm not 100% sure why this hasn't been a problem so far. Maybe just due to the version of LLDB used on the test runner? I haven't done too much testing, but the situation is...weird. I opened an issue about it in the LLVM repo.