summary refs log tree commit diff
path: root/src/platform/tests/Makefile.am
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2017-01-17 20:25:09 +0100
committerMichael Biebl <biebl@debian.org>2017-01-17 20:25:09 +0100
commit58f8be580039b0575b197b9573a1c92745d96d30 (patch)
tree2c226233f623a0dcb529be0eb8cdf97e4a2ae0c0 /src/platform/tests/Makefile.am
parent45cb5bb3c0e6edb887cf69b417fcaf7053814a9b (diff)
New upstream version 1.5.90 upstream/1.5.90
Diffstat (limited to 'src/platform/tests/Makefile.am')
-rw-r--r--src/platform/tests/Makefile.am132
1 files changed, 0 insertions, 132 deletions
diff --git a/src/platform/tests/Makefile.am b/src/platform/tests/Makefile.am
deleted file mode 100644
index 0633dd28..00000000
--- a/src/platform/tests/Makefile.am
+++ /dev/null
@@ -1,132 +0,0 @@
-AM_CPPFLAGS = \
-	-I${top_srcdir} \
-	-I${top_srcdir}/shared \
-	-I${top_builddir}/shared \
-	-I${top_srcdir}/src \
-	-I${top_builddir}/src \
-	-I${top_srcdir}/libnm-core \
-	-I${top_builddir}/libnm-core \
-	-I${srcdir}/.. \
-	-DG_LOG_DOMAIN=\""NetworkManager"\" \
-	-DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \
-	$(GLIB_CFLAGS) \
-	$(GUDEV_CFLAGS) \
-	$(LIBNL_CFLAGS)
-
-if REQUIRE_ROOT_TESTS
-AM_CPPFLAGS += -DREQUIRE_ROOT_TESTS=1
-endif
-
-PLATFORM_SOURCES = \
-	../nm-platform.c \
-	../nm-fake-platform.c \
-	../nm-linux-platform.c
-TEST_SOURCES = \
-	test-common.c \
-	test-common.h \
-	$(PLATFORM_SOURCES)
-AM_CFLAGS = $(CODE_COVERAGE_CFLAGS)
-AM_LDFLAGS = $(GLIB_LIBS) $(GUDEV_LIBS) $(LIBNL_LIBS) $(CODE_COVERAGE_LDFLAGS)
-PLATFORM_LDADD = \
-	$(top_builddir)/src/libNetworkManagerTest.la
-
-@GNOME_CODE_COVERAGE_RULES@
-
-noinst_PROGRAMS = \
-	monitor \
-	test-link-fake \
-	test-link-linux \
-	test-address-fake \
-	test-address-linux \
-	test-general \
-	test-nmp-object \
-	test-route-fake \
-	test-route-linux \
-	test-cleanup-fake \
-	test-cleanup-linux
-
-EXTRA_DIST = test-common.h
-
-monitor_SOURCES = monitor.c $(PLATFORM_SOURCES)
-monitor_LDADD = $(PLATFORM_LDADD)
-
-test_link_fake_SOURCES = $(TEST_SOURCES) test-link.c
-test_link_fake_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSETUP=nm_fake_platform_setup \
-	-DKERNEL_HACKS=0
-test_link_fake_LDADD = $(PLATFORM_LDADD)
-
-test_link_linux_SOURCES = $(TEST_SOURCES) test-link.c
-test_link_linux_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSETUP=nm_linux_platform_setup \
-	-DKERNEL_HACKS=1
-test_link_linux_LDADD = $(PLATFORM_LDADD)
-
-test_address_fake_SOURCES = $(TEST_SOURCES) test-address.c
-test_address_fake_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSETUP=nm_fake_platform_setup \
-	-DKERNEL_HACKS=0
-test_address_fake_LDADD = $(PLATFORM_LDADD)
-
-test_address_linux_SOURCES = $(TEST_SOURCES) test-address.c
-test_address_linux_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSETUP=nm_linux_platform_setup \
-	-DKERNEL_HACKS=1
-test_address_linux_LDADD = $(PLATFORM_LDADD)
-
-test_route_fake_SOURCES = $(TEST_SOURCES) test-route.c
-test_route_fake_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSETUP=nm_fake_platform_setup \
-	-DKERNEL_HACKS=0
-test_route_fake_LDADD = $(PLATFORM_LDADD)
-
-test_route_linux_SOURCES = $(TEST_SOURCES) test-route.c
-test_route_linux_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSETUP=nm_linux_platform_setup \
-	-DKERNEL_HACKS=1
-test_route_linux_LDADD = $(PLATFORM_LDADD)
-
-test_cleanup_fake_SOURCES = $(TEST_SOURCES) test-cleanup.c
-test_cleanup_fake_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSETUP=nm_fake_platform_setup \
-	-DKERNEL_HACKS=0
-test_cleanup_fake_LDADD = $(PLATFORM_LDADD)
-
-test_cleanup_linux_SOURCES = $(TEST_SOURCES) test-cleanup.c
-test_cleanup_linux_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-DSETUP=nm_linux_platform_setup \
-	-DKERNEL_HACKS=1
-test_cleanup_linux_LDADD = $(PLATFORM_LDADD)
-
-test_nmp_object_SOURCES = \
-	test-nmp-object.c
-test_nmp_object_LDADD = \
-	$(top_builddir)/src/libNetworkManagerTest.la
-
-test_general_SOURCES = \
-	test-general.c
-test_general_LDADD = \
-	$(top_builddir)/src/libNetworkManagerTest.la
-
-
-@VALGRIND_RULES@
-TESTS = \
-	test-address-fake \
-	test-address-linux \
-	test-cleanup-fake \
-	test-cleanup-linux \
-	test-general \
-	test-link-fake \
-	test-link-linux \
-	test-nmp-object \
-	test-route-fake \
-	test-route-linux
-