travis: run gamemoded -v as meson test

Signed-off-by: Stephan Lachnit <stephanlachnit@protonmail.com>
This commit is contained in:
Stephan Lachnit 2020-05-12 19:20:35 +02:00 committed by afayaz-feral
parent 6453a123ab
commit c36019a9aa
2 changed files with 9 additions and 3 deletions

View File

@ -20,6 +20,5 @@ script:
- ./scripts/format-check.sh
- ./bootstrap.sh -Dwith-examples=true
- meson test -C build
- gamemoded -v
- dbus-run-session -- gamemode-simulate-game
- ./scripts/static-analyser-check.sh

View File

@ -14,7 +14,7 @@ daemon_sources = [
gamemoded_includes = libgamemode_includes
gamemoded_includes += config_h_dir
executable(
gamemoded = executable(
'gamemoded',
sources: daemon_sources,
dependencies: [
@ -28,4 +28,11 @@ executable(
gamemoded_includes,
],
install: true,
)
)
# verify gamemoded compiled properly
test(
'validate gamemoded compiled properly',
gamemoded,
args: ['-v'],
)