From 447f7b6e075b60d0a368b04edbd915590f3ea122 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 9 May 2019 18:57:03 +0200 Subject: [PATCH] meson: add test case that verifies f00bar can be executed --- meson.build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index dce5bbe..b105335 100644 --- a/meson.build +++ b/meson.build @@ -83,7 +83,7 @@ subdir('decorations') subdir('particles') subdir('modules') -executable( +f00bar = executable( 'f00bar', 'color.h', 'config-verify.c', 'config-verify.h', @@ -105,6 +105,8 @@ executable( install: true, install_rpath: '$ORIGIN/../' + get_option('libdir') + '/f00bar') +test('f00bar-is-executable', f00bar, args: ['--version']) + install_headers( 'color.h', 'config.h',