Skip to content

Port tests to pypeline#196

Open
mrjackv wants to merge 4 commits intorevng:developfrom
mrjackv:feature/pypeline-port-tests
Open

Port tests to pypeline#196
mrjackv wants to merge 4 commits intorevng:developfrom
mrjackv:feature/pypeline-port-tests

Conversation

@mrjackv
Copy link
Contributor

@mrjackv mrjackv commented Feb 19, 2026

No description provided.

Add the `STORAGE_PROVIDER` environment variable for running revng tests
with pypeline.
Use the `--export-dynamic` option as it fixes the same issue as
`--shared` but it's less invasive and does not break debug info in
binaries.
Comment on lines +361 to +369
function cleanup() {
if [ -n "${_MSPDBSRV_ENDPOINT_:-}" ]; then
# Stop mspdbsrv.exe upon exit
wine "$SCRIPT_DIR"/(@= bin @)/mspdbsrv.ex*e -stop || true
fi
wineserver --kill || true
rm -rf "$WINEPREFIX"
}
trap cleanup EXIT
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The whole mspdbsrv business can disappear: having distinct WINEPREFIXes ensures that MSVC does not reuse mspdbserver, ever. They're like distinct "containers".

You can drop the _MSPDBSRV_ENDPOINT_ business, the wait, all of it.

Use a separate WINEPREFIX for each invocation of `cl.exe` to avoid any
race conditions with it.
@mrjackv mrjackv force-pushed the feature/pypeline-port-tests branch from e86fd6d to 751f93b Compare March 4, 2026 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants