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: Allow tests to be optional #692

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

Conversation

bbhtt
Copy link

@bbhtt bbhtt commented Jan 14, 2025

No description provided.

Comment on lines +68 to +72
option('tests',
description: 'Build the test suite',
type: 'boolean',
value: true
)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests are always optional, you never have to run them. What's the goal here? Just to avoid compiling the test programs by default?

I would suggest instead setting build_by_default: false for test progs. Meson 1.7 won't build them by default anymore, if you do so.

Copy link
Author

@bbhtt bbhtt Jan 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

1.7 is too new for me to benefit from it and still only rc

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