diff options
| author | Michael Biebl <biebl@debian.org> | 2015-07-14 19:38:58 +0200 |
|---|---|---|
| committer | Michael Biebl <biebl@debian.org> | 2015-07-14 19:38:58 +0200 |
| commit | 50a58f0fabd8a34c1b6108a107e08abe3c1ccd24 (patch) | |
| tree | 6790165f39daee79e2b6c6617483320613493367 /src/tests/Makefile.am | |
| parent | f408e27bccfacf347605a8d98649975a68f38a17 (diff) | |
Imported Upstream version 1.0.4 upstream/1.0.4
Diffstat (limited to 'src/tests/Makefile.am')
| -rw-r--r-- | src/tests/Makefile.am | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am index a96d1ce9..83632bd1 100644 --- a/src/tests/Makefile.am +++ b/src/tests/Makefile.am @@ -20,6 +20,8 @@ noinst_PROGRAMS = \ test-general-with-expect \ test-ip4-config \ test-ip6-config \ + test-route-manager-linux \ + test-route-manager-fake \ test-dcb \ test-resolvconf-capture \ test-wired-defname @@ -40,6 +42,34 @@ test_ip6_config_SOURCES = \ test_ip6_config_LDADD = \ $(top_builddir)/src/libNetworkManager.la +####### route manager test ####### + +test_route_manager_fake_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I$(top_srcdir)/src/platform/tests \ + -DSETUP=nm_fake_platform_setup \ + -DKERNEL_HACKS=0 + +test_route_manager_fake_SOURCES = \ + $(top_srcdir)/src/platform/tests/test-common.c \ + test-route-manager.c + +test_route_manager_fake_LDADD = \ + $(top_builddir)/src/libNetworkManager.la + +test_route_manager_linux_SOURCES = \ + $(top_srcdir)/src/platform/tests/test-common.c \ + test-route-manager.c + +test_route_manager_linux_CPPFLAGS = \ + $(AM_CPPFLAGS) \ + -I$(top_srcdir)/src/platform/tests \ + -DSETUP=nm_linux_platform_setup \ + -DKERNEL_HACKS=1 + +test_route_manager_linux_LDADD = \ + $(top_builddir)/src/libNetworkManager.la + ####### DCB test ####### test_dcb_SOURCES = \ @@ -90,6 +120,8 @@ EXTRA_DIST = test-secret-agent.py TESTS = \ test-ip4-config \ test-ip6-config \ + test-route-manager-fake \ + test-route-manager-linux \ test-dcb \ test-resolvconf-capture \ test-general \ |