[test] Exclude google-benchmark tests by default if meson "recent"

https://github.com/harfbuzz/harfbuzz/issues/4153#issuecomment-2646131694
This commit is contained in:
Behdad Esfahbod 2025-02-09 08:58:55 +00:00
parent cb6779f9e5
commit 3c975a857f

View file

@ -464,6 +464,12 @@ configure_file(output: 'config.h', configuration: conf)
alias_target('lib', libharfbuzz)
alias_target('libs', libharfbuzz, libharfbuzz_subset)
if meson.version().version_compare('>=0.57.0')
add_test_setup('default',
exclude_suites: ['google-benchmark'],
is_default: true)
endif
build_summary = {
'Directories':
{'prefix': get_option('prefix'),