gplugin/gplugin

Ignore gplugin-loader-tests.h
feature/gtk-doc
2017-07-31, Gary Kramlich
e0644bdafac4
Ignore gplugin-loader-tests.h
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