Don't mark test setups as default in subprojects

This is problematic since meson is defective when it comes to
default test setups. It only allows a single such across all
(sub)projects.

See https://github.com/mesonbuild/meson/issues/12700
This commit is contained in:
Matthias Clasen 2024-12-17 08:16:40 -05:00 committed by Philip Withnall
parent 212991ea4f
commit 38994d43ea

View File

@ -183,7 +183,7 @@ test_timeout = 30
test_timeout_slow = 90
add_test_setup('default',
is_default: true,
is_default: not meson.is_subproject(),
exclude_suites: ['flaky', 'failing'],
env: common_test_env,
timeout_multiplier: 2,