diff options
author | Thomas Haller <thaller@redhat.com> | 2016-10-17 19:10:03 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2016-10-21 16:47:03 +0200 |
commit | b661b176874fbf6e48ed7dbb528861306dd76510 (patch) | |
tree | fb0bf631aeb846bf5d431ccff211192beac35067 | |
parent | 4128d837ac62902cd03e7456624bb7e121a524c6 (diff) | |
download | NetworkManager-b661b176874fbf6e48ed7dbb528861306dd76510.tar.gz |
build: merge "src/settings/plugins/ifupdown/tests/Makefile.am" into toplevel Makefile
-rw-r--r-- | Makefile.am | 50 | ||||
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | src/settings/plugins/Makefile.am | 4 | ||||
-rw-r--r-- | src/settings/plugins/ifupdown/Makefile.am | 1 | ||||
-rw-r--r-- | src/settings/plugins/ifupdown/tests/Makefile.am | 39 |
5 files changed, 50 insertions, 46 deletions
diff --git a/Makefile.am b/Makefile.am index 77cd934742..24a89a4297 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2072,8 +2072,58 @@ check-local-symbols-settings-ifupdown: src/settings/plugins/ifupdown/libnm-setti check_local += check-local-symbols-settings-ifupdown +############################################################################### + +check_programs += src/settings/plugins/ifupdown/tests/test-ifupdown + +src_settings_plugins_ifupdown_tests_test_ifupdown_CPPFLAGS = \ + -I$(top_srcdir)/shared \ + -I$(top_builddir)/shared \ + -I$(top_srcdir)/libnm-core \ + -I$(top_builddir)/libnm-core \ + -I$(top_srcdir)/src \ + -I$(top_srcdir)/src/settings \ + -I$(srcdir)/src/settings/plugins/ifupdown \ + -DG_LOG_DOMAIN=\""NetworkManager"\" \ + -DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \ + $(GLIB_CFLAGS) \ + -DTEST_ENI_DIR=\"$(abs_srcdir)/src/settings/plugins/ifupdown/tests\" + +src_settings_plugins_ifupdown_tests_test_ifupdown_LDFLAGS = \ + $(GLIB_LDFLAGS) + $(CODE_COVERAGE_LDFLAGS) + +src_settings_plugins_ifupdown_tests_test_ifupdown_LDADD = \ + src/settings/plugins/ifupdown/libnms-ifupdown-core.la \ + src/libNetworkManager.la + endif +EXTRA_DIST += \ + src/settings/plugins/ifupdown/tests/test1 \ + src/settings/plugins/ifupdown/tests/test2 \ + src/settings/plugins/ifupdown/tests/test3 \ + src/settings/plugins/ifupdown/tests/test4 \ + src/settings/plugins/ifupdown/tests/test5 \ + src/settings/plugins/ifupdown/tests/test6 \ + src/settings/plugins/ifupdown/tests/test7 \ + src/settings/plugins/ifupdown/tests/test8 \ + src/settings/plugins/ifupdown/tests/test9 \ + src/settings/plugins/ifupdown/tests/test11 \ + src/settings/plugins/ifupdown/tests/test12 \ + src/settings/plugins/ifupdown/tests/test13 \ + src/settings/plugins/ifupdown/tests/test14 \ + src/settings/plugins/ifupdown/tests/test15 \ + src/settings/plugins/ifupdown/tests/test16 \ + src/settings/plugins/ifupdown/tests/test17-wired-static-verify-ip4 \ + src/settings/plugins/ifupdown/tests/test18-wired-static-verify-ip6 \ + src/settings/plugins/ifupdown/tests/test19-wired-static-verify-ip4-plen \ + src/settings/plugins/ifupdown/tests/test20-source-stanza \ + src/settings/plugins/ifupdown/tests/test20-source-stanza.eth0 \ + src/settings/plugins/ifupdown/tests/test20-source-stanza.eth1 \ + src/settings/plugins/ifupdown/tests/test21-source-dir-stanza \ + src/settings/plugins/ifupdown/tests/test21-source-dir-stanza.d + ############################################################################### girdir = $(datadir)/gir-1.0 diff --git a/configure.ac b/configure.ac index d36f9a945c..155b4f943b 100644 --- a/configure.ac +++ b/configure.ac @@ -1141,8 +1141,6 @@ src/dnsmasq-manager/tests/Makefile src/supplicant-manager/tests/Makefile src/supplicant-manager/tests/certs/Makefile src/settings/plugins/Makefile -src/settings/plugins/ifupdown/Makefile -src/settings/plugins/ifupdown/tests/Makefile src/settings/plugins/ifnet/Makefile src/settings/plugins/ifnet/tests/Makefile src/platform/Makefile diff --git a/src/settings/plugins/Makefile.am b/src/settings/plugins/Makefile.am index ca6879dcd7..c0de2ba4ba 100644 --- a/src/settings/plugins/Makefile.am +++ b/src/settings/plugins/Makefile.am @@ -2,10 +2,6 @@ SUBDIRS= @GNOME_CODE_COVERAGE_RULES@ -if CONFIG_PLUGIN_IFUPDOWN -SUBDIRS+=ifupdown -endif - if CONFIG_PLUGIN_IFNET SUBDIRS+=ifnet endif diff --git a/src/settings/plugins/ifupdown/Makefile.am b/src/settings/plugins/ifupdown/Makefile.am deleted file mode 100644 index 3c6155b9c6..0000000000 --- a/src/settings/plugins/ifupdown/Makefile.am +++ /dev/null @@ -1 +0,0 @@ -SUBDIRS = tests diff --git a/src/settings/plugins/ifupdown/tests/Makefile.am b/src/settings/plugins/ifupdown/tests/Makefile.am deleted file mode 100644 index ee70504d7f..0000000000 --- a/src/settings/plugins/ifupdown/tests/Makefile.am +++ /dev/null @@ -1,39 +0,0 @@ -if ENABLE_TESTS - -AM_CPPFLAGS = \ - -I$(top_srcdir)/shared \ - -I$(top_builddir)/shared \ - -I$(top_srcdir)/libnm-core \ - -I$(top_builddir)/libnm-core \ - -I$(top_srcdir)/src \ - -I$(top_srcdir)/src/settings \ - -I$(srcdir)/../ \ - -DG_LOG_DOMAIN=\""NetworkManager"\" \ - -DNETWORKMANAGER_COMPILATION=NM_NETWORKMANAGER_COMPILATION_INSIDE_DAEMON \ - $(GLIB_CFLAGS) \ - -DTEST_ENI_DIR=\"$(abs_srcdir)\" - -noinst_PROGRAMS = test-ifupdown - -test_ifupdown_SOURCES = \ - test-ifupdown.c - -test_ifupdown_LDFLAGS = \ - $(GLIB_LDFLAGS) - $(CODE_COVERAGE_LDFLAGS) - -test_ifupdown_LDADD = \ - $(top_builddir)/src/settings/plugins/ifupdown/libnms-ifupdown-core.la \ - $(top_builddir)/src/libNetworkManager.la - -@NM_LOG_COMPILER@ -TESTS = test-ifupdown - -endif - -EXTRA_DIST = \ - test1 test2 test3 test4 test5 test6 test7 test8 test9 test11 test12 \ - test13 test14 test15 test16 test17-wired-static-verify-ip4 \ - test18-wired-static-verify-ip6 test19-wired-static-verify-ip4-plen \ - test20-source-stanza test20-source-stanza.eth0 test20-source-stanza.eth1 \ - test21-source-dir-stanza test21-source-dir-stanza.d |