qulogic/gplugin
Clone
Summary
Browse
Changes
Graph
Merged in feature/vala (pull request #21)
develop
2019-07-22, Gary Kramlich
33bac0aeb596
Merged in feature/vala (pull request #21)
Vala Testing and vapi generation
Approved-by: Elliott Sales de Andrade
if
get_option
(
'python'
)
e
=
executable
(
'test-python-loader'
,
'test-python-loader.c'
,
include_directories
:
include_directories
(
'.'
),
c_args
:
[
'-DPYTHON_LOADER_DIR="@0@/python"'
.
format
(
meson
.
build_root
()),
'-DPYTHON_PLUGIN_DIR="@0@/plugins"'
.
format
(
meson
.
current_source_dir
()),
],
link_with
:
gplugin_loader_tests
,
dependencies
:
[
GLIB
,
GOBJECT
,
PYTHON3
,
PYGOBJECT
,
gplugin_dep
])
test
(
'Python loader'
,
e
)
# we can't see the symbols in gplugin-python externally, so use the static
# version for testing
e
=
executable
(
'test-python-utils'
,
'test-python-utils.c'
,
include_directories
:
include_directories
(
'.'
),
c_args
:
[
'-DPYTHON_LOADER_DIR="@0@/python"'
.
format
(
meson
.
build_root
()),
'-DPYTHON_PLUGIN_DIR="@0@/plugins"'
.
format
(
meson
.
current_source_dir
()),
],
link_with
:
[
gplugin_loader_tests
],
dependencies
:
[
GLIB
,
GOBJECT
,
PYTHON3
,
PYGOBJECT
,
gplugin_python_static_dep
])
test
(
'Python utils'
,
e
)
endif
# python