mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-04 02:50:17 +01:00
tests: enable valgrind tests for tests
This commit is contained in:
parent
6853d07f05
commit
c50f30e79c
15 changed files with 16 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ test_dispatcher_envp_LDADD = \
|
|||
|
||||
###########################################
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-dispatcher-envp
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -24,6 +24,7 @@ LDADD = \
|
|||
$(top_builddir)/libnm-core/libnm-core.la \
|
||||
$(GLIB_LIBS)
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = $(noinst_PROGRAMS)
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ AM_CPPFLAGS = \
|
|||
|
||||
noinst_PROGRAMS = $(TESTS)
|
||||
|
||||
#@VALGRIND_RULES@
|
||||
TESTS = test-nm-client test-remote-settings-client
|
||||
|
||||
####### NMClient and non-settings tests #######
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ AM_CPPFLAGS = \
|
|||
-DBUILD_DIR=\"$(abs_builddir)\" \
|
||||
-DTEST_CERT_DIR=\"$(top_srcdir)/libnm-core/tests/certs/\"
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = \
|
||||
test-settings-defaults \
|
||||
test-crypto \
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@ LDADD = \
|
|||
|
||||
noinst_PROGRAMS = $(TESTS)
|
||||
|
||||
#@VALGRIND_RULES@
|
||||
TESTS = test-nm-client test-remote-settings-client test-secret-agent
|
||||
|
||||
test_nm_client_SOURCES = \
|
||||
|
|
|
|||
|
|
@ -23,5 +23,6 @@ test_wifi_ap_utils_SOURCES = \
|
|||
|
||||
test_wifi_ap_utils_LDADD = $(top_builddir)/src/libNetworkManager.la
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-wifi-ap-utils
|
||||
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ test_dhcp_utils_LDADD = \
|
|||
|
||||
#################################
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-dhcp-dhclient test-dhcp-utils
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
|
|
|||
|
|
@ -19,5 +19,6 @@ test_dnsmasq_utils_SOURCES = \
|
|||
test_dnsmasq_utils_LDADD = \
|
||||
$(top_builddir)/src/libNetworkManager.la
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-dnsmasq-utils
|
||||
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@ test_ibft_SOURCES = \
|
|||
test_ibft_LDADD = \
|
||||
$(top_builddir)/src/libNetworkManager.la
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-ibft
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ test_ifcfg_rh_utils_SOURCES = \
|
|||
test_ifcfg_rh_utils_LDADD = \
|
||||
$(top_builddir)/src/libNetworkManager.la
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-ifcfg-rh-utils test-ifcfg-rh
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -23,6 +23,8 @@ test_ifupdown_SOURCES = \
|
|||
test_ifupdown_LDADD = \
|
||||
$(top_builddir)/src/libNetworkManager.la
|
||||
|
||||
# TODO: enable valgrind for ifupdown. Currently it fails.
|
||||
#@VALGRIND_RULES@
|
||||
TESTS = test-ifupdown
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ test_keyfile_LDADD = \
|
|||
$(DBUS_LIBS) \
|
||||
$(CODE_COVERAGE_LDFLAGS)
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-keyfile
|
||||
|
||||
endif
|
||||
|
|
|
|||
|
|
@ -18,4 +18,5 @@ test_supplicant_config_SOURCES = \
|
|||
test_supplicant_config_LDADD = \
|
||||
$(top_builddir)/src/libNetworkManager.la
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-supplicant-config
|
||||
|
|
|
|||
|
|
@ -86,6 +86,7 @@ EXTRA_DIST = test-secret-agent.py
|
|||
|
||||
###########################################
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = \
|
||||
test-ip4-config \
|
||||
test-ip6-config \
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ test_config_SOURCES = \
|
|||
test_config_LDADD = \
|
||||
$(top_builddir)/src/libNetworkManager.la
|
||||
|
||||
@VALGRIND_RULES@
|
||||
TESTS = test-config
|
||||
|
||||
EXTRA_DIST = \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue