Skip to content
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

enable running tests in parallel #37496

Merged
merged 3 commits into from Jun 24, 2022

Conversation

classabbyamp
Copy link
Member

@classabbyamp classabbyamp commented Jun 10, 2022

  • common: add disable_parallel_check
  • common/build-style: make do_check run in parallel unless disabled
  • Manual.md: document disable_parallel_check

Redux of #31811, incorporating some of the outstanding feedback when it was stale-closed.

Adds -j$XBPS_MAKEJOBS to do_check in several build-styles, with the option to disable it if it causes issues.

I did not change the python3-{modules,pep517} build-styles to opt-out of parallel checks, because they require a 3rd-party library to do it (and it only works with pytest tests). If a python3 package has tests that require python3-pytest-xdist to run, but have issues with parallel tests, parallel behaviour can still be disabled by disable_parallel_check (which would set the xdist equivalent of -j1).

Testing the changes

  • I tested the changes in this PR: YES

@paper42 paper42 added the xbps-src xbps-src related label Jun 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
xbps-src xbps-src related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants