mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-04 09:28:00 +02:00
meson: Remove tests related to check_so_symbols
These tests are already working since 19a718bc1 so `FIXME` comments
are not needed anymore.
This commit is contained in:
parent
f0b7041063
commit
7e1aacaef2
9 changed files with 0 additions and 81 deletions
13
meson.build
13
meson.build
|
|
@ -808,19 +808,6 @@ fi
|
|||
|
||||
content_files = []
|
||||
|
||||
# FIXME: every plugin calls to this:
|
||||
'''
|
||||
set_sanitizer_env = \
|
||||
[ -n "$(SANITIZER_ENV)" ] && export $(SANITIZER_ENV) ; \
|
||||
if [ -n "$(1)" ] && echo $(CFLAGS) | grep -e -fsanitize=address ; then \
|
||||
export LD_PRELOAD="$${LD_PRELOAD}:$$(ldd $(1) | grep libasan\.so\.. -o | head -n 1)"; \
|
||||
fi
|
||||
|
||||
check_so_symbols = \
|
||||
$(call set_sanitizer_env,$(1)); \
|
||||
LD_BIND_NOW=1 LD_PRELOAD=$${LD_PRELOAD}:$(1) $(builddir)/src/NetworkManager --version >/dev/null
|
||||
'''
|
||||
|
||||
subdir('introspection')
|
||||
subdir('shared')
|
||||
subdir('libnm-core')
|
||||
|
|
|
|||
|
|
@ -21,10 +21,3 @@ test(
|
|||
check_exports,
|
||||
args: [libnm_device_plugin_adsl.full_path(), linker_script_devices],
|
||||
)
|
||||
|
||||
# FIXME: check_so_symbols replacement
|
||||
'''
|
||||
check-local-devices-adsl: src/devices/adsl/libnm-device-plugin-adsl.la
|
||||
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/adsl/.libs/libnm-device-plugin-adsl.so "$(srcdir)/linker-script-devices.ver"
|
||||
$(call check_so_symbols,$(builddir)/src/devices/adsl/.libs/libnm-device-plugin-adsl.so)
|
||||
'''
|
||||
|
|
|
|||
|
|
@ -34,10 +34,3 @@ test(
|
|||
check_exports,
|
||||
args: [libnm_device_plugin_bluetooth.full_path(), linker_script_devices],
|
||||
)
|
||||
|
||||
# FIXME: check_so_symbols replacement
|
||||
'''
|
||||
check-local-devices-bluetooth: src/devices/bluetooth/libnm-device-plugin-bluetooth.la
|
||||
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/bluetooth/.libs/libnm-device-plugin-bluetooth.so "$(srcdir)/linker-script-devices.ver"
|
||||
$(call check_so_symbols,$(builddir)/src/devices/bluetooth/.libs/libnm-device-plugin-bluetooth.so)
|
||||
'''
|
||||
|
|
|
|||
|
|
@ -29,10 +29,3 @@ test(
|
|||
check_exports,
|
||||
args: [libnm_device_plugin_ovs.full_path(), linker_script_devices],
|
||||
)
|
||||
|
||||
# FIXME: check_so_symbols replacement
|
||||
'''
|
||||
check-local-devices-ovs: src/devices/ovs/libnm-device-plugin-ovs.la
|
||||
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/ovs/.libs/libnm-device-plugin-ovs.so "$(srcdir)/linker-script-devices.ver"
|
||||
$(call check_so_symbols,$(builddir)/src/devices/ovs/.libs/libnm-device-plugin-ovs.so)
|
||||
'''
|
||||
|
|
|
|||
|
|
@ -27,10 +27,3 @@ test(
|
|||
check_exports,
|
||||
args: [libnm_device_plugin_team.full_path(), linker_script_devices],
|
||||
)
|
||||
|
||||
# FIXME: check_so_symbols replacement
|
||||
'''
|
||||
check-local-devices-team: src/devices/team/libnm-device-plugin-team.la
|
||||
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/team/.libs/libnm-device-plugin-team.so "$(srcdir)/linker-script-devices.ver"
|
||||
$(call check_so_symbols,$(builddir)/src/devices/team/.libs/libnm-device-plugin-team.so)
|
||||
'''
|
||||
|
|
|
|||
|
|
@ -38,13 +38,6 @@ test(
|
|||
args: [libnm_device_plugin_wifi.full_path(), linker_script_devices],
|
||||
)
|
||||
|
||||
# FIXME: check_so_symbols replacement
|
||||
'''
|
||||
check-local-devices-wifi: src/devices/wifi/libnm-device-plugin-wifi.la
|
||||
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/wifi/.libs/libnm-device-plugin-wifi.so "$(srcdir)/linker-script-devices.ver"
|
||||
$(call check_so_symbols,$(builddir)/src/devices/wifi/.libs/libnm-device-plugin-wifi.so)
|
||||
'''
|
||||
|
||||
if enable_tests
|
||||
subdir('tests')
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -69,15 +69,6 @@ run_target(
|
|||
depends: libnm_device_plugin_wwan,
|
||||
)
|
||||
|
||||
# FIXME: check_so_symbols replacement
|
||||
'''
|
||||
check-local-devices-wwan: src/devices/wwan/libnm-device-plugin-wwan.la src/devices/wwan/libnm-wwan.la
|
||||
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/wwan/.libs/libnm-device-plugin-wwan.so "$(srcdir)/linker-script-devices.ver"
|
||||
$(call check_so_symbols,$(builddir)/src/devices/wwan/.libs/libnm-device-plugin-wwan.so)
|
||||
$(srcdir)/tools/check-exports.sh $(builddir)/src/devices/wwan/.libs/libnm-wwan.so "$(srcdir)/src/devices/wwan/libnm-wwan.ver"
|
||||
$(call check_so_symbols,$(builddir)/src/devices/wwan/.libs/libnm-wwan.so)
|
||||
'''
|
||||
|
||||
if enable_tests
|
||||
subdir('tests')
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -51,18 +51,6 @@ libnm_settings_plugin_ifcfg_rh = shared_module(
|
|||
|
||||
core_plugins += libnm_settings_plugin_ifcfg_rh
|
||||
|
||||
# FIXME: check_so_symbols replacement
|
||||
'''
|
||||
run_target(
|
||||
'check-local-symbols-settings-ifcfg-rh',
|
||||
command: [check_so_symbols, libnm_settings_plugin_ifcfg_rh.full_path()],
|
||||
depends: libnm_settings_plugin_ifcfg_rh,
|
||||
)
|
||||
|
||||
check-local-symbols-settings-ifcfg-rh: src/settings/plugins/ifcfg-rh/libnm-settings-plugin-ifcfg-rh.la
|
||||
$(call check_so_symbols,$(builddir)/src/settings/plugins/ifcfg-rh/.libs/libnm-settings-plugin-ifcfg-rh.so)
|
||||
'''
|
||||
|
||||
data = [
|
||||
'nm-ifdown',
|
||||
'nm-ifup',
|
||||
|
|
|
|||
|
|
@ -24,18 +24,6 @@ libnm_settings_plugin_ifupdown = shared_module(
|
|||
|
||||
core_plugins += libnm_settings_plugin_ifupdown
|
||||
|
||||
# FIXME: check_so_symbols replacement
|
||||
'''
|
||||
run_target(
|
||||
'check-local-symbols-settings-ifupdown',
|
||||
command: [check_so_symbols, libnm_settings_plugin_ifupdown.full_path()],
|
||||
depends: libnm_settings_plugin_ifupdown,
|
||||
)
|
||||
|
||||
check-local-symbols-settings-ifupdown: src/settings/plugins/ifupdown/libnm-settings-plugin-ifupdown.la
|
||||
$(call check_so_symbols,$(builddir)/src/settings/plugins/ifupdown/.libs/libnm-settings-plugin-ifupdown.so)
|
||||
'''
|
||||
|
||||
if enable_tests
|
||||
subdir('tests')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue