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

meson: Explicitly set run_command() check parameter #195

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

aperezdc
Copy link
Member

@aperezdc aperezdc commented Sep 12, 2024

Set the "check" parameter in run_command() calls, instead of relying on the default value, which might get changed at some point in the future.

This silences the following Meson warning:

  WARNING: You should add the boolean check kwarg to the run_command call.
           It currently defaults to false,
           but it will default to true in future releases of meson.
           See also: https://github.com/mesonbuild/meson/issues/9300

@aperezdc aperezdc added the enhancement New feature or request label Sep 12, 2024
@aperezdc aperezdc self-assigned this Sep 12, 2024
meson.build Outdated Show resolved Hide resolved
@aperezdc aperezdc force-pushed the aperezdc/meson-command-warning branch from e780efa to 7a97895 Compare September 12, 2024 13:43
@csaavedra
Copy link
Member

There are some typos in the log message.

Set the "check" parameter in run_command() calls, instead of relying on
the default value, which might get changed at some point in the future.

This silences the following Meson warning:

  WARNING: You should add the boolean check kwarg to the run_command call.
           It currently defaults to false,
           but it will default to true in future releases of meson.
           See also: mesonbuild/meson#9300
@aperezdc aperezdc force-pushed the aperezdc/meson-command-warning branch from 7a97895 to 1d4a8b8 Compare September 12, 2024 14:20
@aperezdc
Copy link
Member Author

There are some typos in the log message.

Fixed, thanks!

@aperezdc aperezdc merged commit f486b18 into master Sep 12, 2024
2 checks passed
@aperezdc aperezdc deleted the aperezdc/meson-command-warning branch September 12, 2024 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants