gplugin/gplugin
Clone
Summary
Browse
Changes
Graph
gplugin tests: statically combined some strings instead of using format strings
2022-01-24, ivanhoe
947b65f1ef43
gplugin tests: statically combined some strings instead of using format strings
if
get_option
(
'vapi'
)
e
=
executable
(
'test-vala-loading'
,
'test-vala-loading.c'
,
include_directories
:
include_directories
(
'.'
),
c_args
:
[
'-DVALA_PLUGIN_DIR="@0@/plugins"'
.
format
(
meson
.
current_build_dir
()),
],
link_with
:
gplugin_loader_tests
,
dependencies
:
[
GLIB
,
GOBJECT
,
gplugin_dep
])
test
(
'Vala loading'
,
e
)
e
=
executable
(
'test-genie-loading'
,
'test-genie-loading.c'
,
include_directories
:
include_directories
(
'.'
),
c_args
:
[
'-DGENIE_PLUGIN_DIR="@0@/genie-plugins"'
.
format
(
meson
.
current_build_dir
()),
],
link_with
:
gplugin_loader_tests
,
dependencies
:
[
GLIB
,
GOBJECT
,
gplugin_dep
])
test
(
'Genie loading'
,
e
)
subdir
(
'genie-plugins'
)
subdir
(
'plugins'
)
endif
# vapi