Skip to content

meson: Add '@EXTRA_ARGS@' to generate_test_runner arguments #777

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dloidolt
Copy link

Extended the argument list in meson generator for the test runner strict by adding '@EXTRA_ARGS@'. This change enables the test runner script to accept additional configuration parameters alongside '@input@' and '@output@', increasing its flexibility.

Extended the argument list in meson generator for the test
runner strict by adding '@EXTRA_ARGS@'. This change enables the test
runner script to accept additional configuration parameters alongside
'@input@' and '@output@', increasing its flexibility.
@Letme
Copy link
Contributor

Letme commented Apr 18, 2025

Hi @dloidolt,
Can you please give me a simple meson.build file, so that I can see how you manage to genrate the runner and do mocks from meson. Because I am abandoning meson because I had to run pre-meson script to generate mocks, so that meson would then get the file list to compile.

@dloidolt
Copy link
Author

dloidolt commented Apr 19, 2025

Hi @Letme,
Here is my meson.build file to generate the test runners: https://github.com/dloidolt/airs-compression/blob/c1b44753fb1dd701bc752a781d6f494c45235dba/test/meson.build#L41
I am currently not using mocks.
I hope this helps you.
Let me know if you need any more details.

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