Skip to content

Fix runner tests that depend on executable guest paths#1016

Open
jaybosamiya-ms wants to merge 3 commits into
mainfrom
jayb/fix-python-for-origin-deps
Open

Fix runner tests that depend on executable guest paths#1016
jaybosamiya-ms wants to merge 3 commits into
mainfrom
jayb/fix-python-for-origin-deps

Conversation

@jaybosamiya-ms

Copy link
Copy Markdown
Member

The Python runner test previously skipped Python binaries with $ORIGIN dependencies (#479); this PR fixes it by making the guest paths actually just use the program inside the tar at the correct location, and setting up LD_ORIGIN_PATH as a workaround towards not yet supporting /proc/self/exe. This enables Python tests to run on more machines (including what I use, via mise).

Generalizing a bit more, this PR also removes the special /out/bash for the shebang (#790), by using an actual bash path in it.

Since we're now defaulting to --program-from-tar (which I believe to be the right move for most of the tests) also added a quick test of usage without it, just to maintain coverage of it.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No semver-relevant crate changes detected; skipped cargo-semver-checks.

@jaybosamiya-ms jaybosamiya-ms marked this pull request as ready for review July 9, 2026 01:00
@jaybosamiya-ms jaybosamiya-ms enabled auto-merge July 9, 2026 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant