-
Notifications
You must be signed in to change notification settings - Fork 14k
compiletest: Run the lldb_batchmode.py script in LLDB's embedded Python
#148685
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
This PR modifies If appropriate, please update Some changes occurred in src/tools/compiletest cc @jieyouxu |
|
rustbot has assigned @Mark-Simulacrum. Use |
|
Big thanks to @Walnut356 for suggesting the use of LLDB's embedded Python. This may be a useful alternative to some of the changes proposed in:
r? jieyouxu |
|
|
|
@bors try jobs=aarch64-apple |
This comment has been minimized.
This comment has been minimized.
compiletest: Run the `lldb_batchmode.py` script in LLDB's embedded Python try-job: aarch64-apple
|
Pushed a small tweak to explicitly specify that the script is in Python, and not some other language. Doesn't seem to be needed in practice, but perhaps it will avoid headaches someday. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, this makes a lot of sense than trying to figure out some random Python from the environment... I tried this locally and it seems to work. Let's give this a try, at worst we can revert if any cursed issues crop up.
|
@bors r+ rollup=never |
|
☀️ Test successful - checks-actions |
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 5f666a6 (parent) -> 00426d6 (this PR) Test differencesShow 4 test diffsStage 2
Additionally, 3 doctest diffs were found. These are ignored, as they are noisy. Job group index
Test dashboardRun cargo run --manifest-path src/ci/citool/Cargo.toml -- \
test-dashboard 00426d642ad6a8c6192bf517702a68b0a8001547 --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 (00426d6): 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 (primary 2.1%)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: 475.073s -> 476.293s (0.26%) |
Historically, LLDB debuginfo tests have used a Python script to control LLDB via its Python API, instead of invoking the
lldbcommand directly.Unfortunately, this requires us to find and use a version of Python that is compatible with LLDB's Python bindings.
However, it turns out that there is a simpler way to find a compatible Python interpreter: use the one that is embedded in LLDB itself, via the
scriptcommand.