Skip to content

enable 'runtest' and 'test_cmd' customization in MesonNinja easyblock#4111

Open
Thyre wants to merge 1 commit intoeasybuilders:developfrom
Thyre:20260411121954_new_pr_mesonninja
Open

enable 'runtest' and 'test_cmd' customization in MesonNinja easyblock#4111
Thyre wants to merge 1 commit intoeasybuilders:developfrom
Thyre:20260411121954_new_pr_mesonninja

Conversation

@Thyre
Copy link
Copy Markdown
Collaborator

@Thyre Thyre commented Apr 11, 2026

(created using eb --new-pr)

Instead of relying on each EasyConfig to set runtest = ninja test, provide a sane default and enable users of the EasyBlock to just set runtest = True for a sane default. Also enable customization via test_cmd, available in other generic easyblocks.

To further ensure that we're not using too many resources, limit the parallelism via environment variables described in the Meson documentation. Just calling meson test would use all available CPU cores, ignoring our wanted parallelism.

Closes #4087

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

runtest for MesonNinja

1 participant