meson: run the check-export.sh in test phase

Targets not depended on by anything are not useful and likely never get run.
This commit is contained in:
Lubomir Rintel 2018-06-26 18:36:31 +02:00
parent 22813fdc60
commit 1491efa5d8
10 changed files with 28 additions and 28 deletions

View file

@ -269,10 +269,10 @@ executable(
link_with: libnm_glib link_with: libnm_glib
) )
run_target( test(
'check-local-exports-' + libnm_glib_name, 'check-local-exports-' + libnm_glib_name,
command: [check_exports, libnm_glib.full_path(), linker_script], check_exports,
depends: libnm_glib args: [libnm_glib.full_path(), linker_script],
) )
if enable_tests if enable_tests

View file

@ -167,10 +167,10 @@ if enable_introspection
) )
endif endif
run_target( test(
'check-local-exports-' + libnm_util_name, 'check-local-exports-' + libnm_util_name,
command: [check_exports, libnm_util.full_path(), linker_script], check_exports,
depends: libnm_util args: [libnm_util.full_path(), linker_script],
) )
sources = files( sources = files(

View file

@ -186,10 +186,10 @@ pkg.generate(
] ]
) )
run_target( test(
'check-local-exports-' + libnm_name, 'check-local-exports-' + libnm_name,
command: [check_exports, libnm.full_path(), linker_script], check_exports,
depends: libnm args: [libnm.full_path(), linker_script],
) )
if enable_introspection if enable_introspection

View file

@ -809,7 +809,7 @@ intltool_xml_cmd = [intltool_merge, '-x', '-u', '-c', intltool_cache, po_dir, '@
perl = find_program('perl') perl = find_program('perl')
xsltproc = find_program('xsltproc') xsltproc = find_program('xsltproc')
check_exports = join_paths(meson.source_root(), 'tools', 'check-exports.sh') check_exports = find_program(join_paths(meson.source_root(), 'tools', 'check-exports.sh'))
content_files = [] content_files = []

View file

@ -20,10 +20,10 @@ libnm_device_plugin_adsl = shared_module(
core_plugins += libnm_device_plugin_adsl core_plugins += libnm_device_plugin_adsl
run_target( test(
'check-local-devices-adsl', 'check-local-devices-adsl',
command: [check_exports, libnm_device_plugin_adsl.full_path(), linker_script_devices], check_exports,
depends: libnm_device_plugin_adsl args: [libnm_device_plugin_adsl.full_path(), linker_script_devices],
) )
# FIXME: check_so_symbols replacement # FIXME: check_so_symbols replacement

View file

@ -31,10 +31,10 @@ libnm_device_plugin_bluetooth = shared_module(
core_plugins += libnm_device_plugin_bluetooth core_plugins += libnm_device_plugin_bluetooth
run_target( test(
'check-local-devices-bluetooth', 'check-local-devices-bluetooth',
command: [check_exports, libnm_device_plugin_bluetooth.full_path(), linker_script_devices], check_exports,
depends: libnm_device_plugin_bluetooth args: [libnm_device_plugin_bluetooth.full_path(), linker_script_devices],
) )
# FIXME: check_so_symbols replacement # FIXME: check_so_symbols replacement

View file

@ -24,10 +24,10 @@ libnm_device_plugin_ovs = shared_module(
core_plugins += libnm_device_plugin_ovs core_plugins += libnm_device_plugin_ovs
run_target( test(
'check-local-devices-ovs', 'check-local-devices-ovs',
command: [check_exports, libnm_device_plugin_ovs.full_path(), linker_script_devices], check_exports,
depends: libnm_device_plugin_ovs args: [libnm_device_plugin_ovs.full_path(), linker_script_devices],
) )
# FIXME: check_so_symbols replacement # FIXME: check_so_symbols replacement

View file

@ -21,10 +21,10 @@ libnm_device_plugin_team = shared_module(
core_plugins += libnm_device_plugin_team core_plugins += libnm_device_plugin_team
run_target( test(
'check-local-devices-team', 'check-local-devices-team',
command: [check_exports, libnm_device_plugin_team.full_path(), linker_script_devices], check_exports,
depends: libnm_device_plugin_team args: [libnm_device_plugin_team.full_path(), linker_script_devices],
) )
# FIXME: check_so_symbols replacement # FIXME: check_so_symbols replacement

View file

@ -33,10 +33,10 @@ libnm_device_plugin_wifi = shared_module(
core_plugins += libnm_device_plugin_wifi core_plugins += libnm_device_plugin_wifi
run_target( test(
'check-local-devices-wifi', 'check-local-devices-wifi',
command: [check_exports, libnm_device_plugin_wifi.full_path(), linker_script_devices], check_exports,
depends: libnm_device_plugin_wifi args: [libnm_device_plugin_wifi.full_path(), linker_script_devices],
) )
# FIXME: check_so_symbols replacement # FIXME: check_so_symbols replacement

View file

@ -35,10 +35,10 @@ libnm_wwan_dep = declare_dependency(
core_plugins += libnm_wwan core_plugins += libnm_wwan
run_target( test(
'check-wwan', 'check-wwan',
command: [check_exports, libnm_wwan.full_path(), linker_script], check_exports,
depends: libnm_wwan args: [libnm_wwan.full_path(), linker_script],
) )
sources = files( sources = files(