mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-20 03:35:41 +02:00
meson: guard the full-conf-good
test by the plugins it expects
This commit is contained in:
parent
56467d0ba3
commit
87c74d54b7
1 changed files with 6 additions and 1 deletions
|
@ -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-isnt-file', yambar, args: ['-C', '-c', '.'], should_fail: true)
|
||||||
test('config-no-bar', yambar, args: ['-C', '-c', join_paths(pwd, 'no-bar.yml')],
|
test('config-no-bar', yambar, args: ['-C', '-c', join_paths(pwd, 'no-bar.yml')],
|
||||||
should_fail: true)
|
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
|
||||||
|
|
Loading…
Add table
Reference in a new issue