Skip to content

meson: allow passing arguments to generate_test_runner.rb#826

Closed
lovetheguitar wants to merge 1 commit intoThrowTheSwitch:masterfrom
lovetheguitar:patch-1
Closed

meson: allow passing arguments to generate_test_runner.rb#826
lovetheguitar wants to merge 1 commit intoThrowTheSwitch:masterfrom
lovetheguitar:patch-1

Conversation

@lovetheguitar
Copy link

@lovetheguitar lovetheguitar commented Mar 26, 2026

This change enables a user to configure the test generation, e.g. enable parametrized tests like so:

gen_test_runner.process(
      'test_platform.c' , extra_args: ['--use_param_tests=1']

This feature is documented here in the meson documentation.

Btw. thanks for the great library. :)

This change enables a user to configure the test generation, e.g. enable parametrized tests like so:

```meson
gen_test_runner.process(
      'test_platform.c' , extra_args: ['--use_param_tests=1']
```
@lovetheguitar
Copy link
Author

Whoopsie, there is an existing open PR - please consider #777 instead.

Sorry for the noise. 🙃

@Letme
Copy link
Contributor

Letme commented Mar 27, 2026

@lovetheguitar can you review #777 and put approval to it if you agree with it? I tried meson, but never got it working, so it is safe to say that if more people approve that MR Mark will merge it sooner :) (it does not work like that but still nice to have some confidence)

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.

2 participants