meson: guard the full-conf-good test by the plugins it expects

This commit is contained in:
Ben Boeckel 2025-02-08 20:17:13 +01:00 committed by Daniel Eklöf
parent 56467d0ba3
commit 87c74d54b7
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -7,4 +7,9 @@ test('no-config', yambar, args: ['-C', '-c', 'xyz'], should_fail: true)
test('config-isnt-file', yambar, args: ['-C', '-c', '.'], should_fail: true)
test('config-no-bar', yambar, args: ['-C', '-c', join_paths(pwd, 'no-bar.yml')],
should_fail: true)
if plugin_alsa_enabled and plugin_backlight_enabled and \
plugin_battery_enabled and plugin_clock_enabled and \
plugin_i3_enabled and plugin_mpd_enabled and plugin_network_enabled \
and plugin_removables_enabled
test('full-conf-good', yambar, args: ['-C', '-c', join_paths(pwd, 'full-conf-good.yml')])
endif