forked from external/yambar
meson: add test case that verifies f00bar can be executed
This commit is contained in:
parent
9fbadb4ab1
commit
447f7b6e07
1 changed files with 3 additions and 1 deletions
|
@ -83,7 +83,7 @@ subdir('decorations')
|
||||||
subdir('particles')
|
subdir('particles')
|
||||||
subdir('modules')
|
subdir('modules')
|
||||||
|
|
||||||
executable(
|
f00bar = executable(
|
||||||
'f00bar',
|
'f00bar',
|
||||||
'color.h',
|
'color.h',
|
||||||
'config-verify.c', 'config-verify.h',
|
'config-verify.c', 'config-verify.h',
|
||||||
|
@ -105,6 +105,8 @@ executable(
|
||||||
install: true,
|
install: true,
|
||||||
install_rpath: '$ORIGIN/../' + get_option('libdir') + '/f00bar')
|
install_rpath: '$ORIGIN/../' + get_option('libdir') + '/f00bar')
|
||||||
|
|
||||||
|
test('f00bar-is-executable', f00bar, args: ['--version'])
|
||||||
|
|
||||||
install_headers(
|
install_headers(
|
||||||
'color.h',
|
'color.h',
|
||||||
'config.h',
|
'config.h',
|
||||||
|
|
Loading…
Add table
Reference in a new issue