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
parent e68ed8d843
commit d8558238fe

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)
test('full-conf-good', yambar, args: ['-C', '-c', join_paths(pwd, 'full-conf-good.yml')])
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