diff options
Diffstat (limited to 'src/tests/Makefile.am')
| -rw-r--r-- | src/tests/Makefile.am | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am index e1734b6d..8851c242 100644 --- a/src/tests/Makefile.am +++ b/src/tests/Makefile.am @@ -1,5 +1,7 @@ SUBDIRS = config +@GNOME_CODE_COVERAGE_RULES@ + AM_CPPFLAGS = \ -I$(top_srcdir)/shared \ -I$(top_builddir)/shared \ @@ -12,7 +14,10 @@ AM_CPPFLAGS = \ -I$(top_builddir)/src \ -DG_LOG_DOMAIN=\""NetworkManager"\" \ -DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \ - $(GLIB_CFLAGS) + $(GLIB_CFLAGS) \ + $(CODE_COVERAGE_CFLAGS) + +AM_LDFLAGS = $(CODE_COVERAGE_LDFLAGS) noinst_PROGRAMS = \ test-general \ @@ -47,6 +52,7 @@ test_ip6_config_LDADD = \ test_route_manager_fake_CPPFLAGS = \ $(AM_CPPFLAGS) \ + $(GUDEV_CFLAGS) \ -I$(top_srcdir)/src/platform/tests \ -DSETUP=nm_fake_platform_setup \ -DKERNEL_HACKS=0 @@ -56,7 +62,7 @@ test_route_manager_fake_SOURCES = \ test-route-manager.c test_route_manager_fake_LDADD = \ - $(top_builddir)/src/libNetworkManager.la + $(top_builddir)/src/libNetworkManagerTest.la test_route_manager_linux_SOURCES = \ $(top_srcdir)/src/platform/tests/test-common.c \ @@ -64,6 +70,7 @@ test_route_manager_linux_SOURCES = \ test_route_manager_linux_CPPFLAGS = \ $(AM_CPPFLAGS) \ + $(GUDEV_CFLAGS) \ -I$(top_srcdir)/src/platform/tests \ -DSETUP=nm_linux_platform_setup \ -DKERNEL_HACKS=1 @@ -123,7 +130,6 @@ test_systemd_SOURCES = \ test-systemd.c test_systemd_LDADD = \ - $(top_builddir)/src/libNetworkManager-base.la \ $(top_builddir)/src/libsystemd-nm.la ####### utils test ####### |