NetworkManager/callouts/tests/Makefile.am
Mario Sanchez Prada 570e8ee296 nm-dispatcher: Handle the 'connectivity-state' parameter for 'Action'
Actually handle this new parameter in the nm-dispatcher process, setting
the value of a new CONNECTIVITY_STATE environment variable accordingly.

This patch also includes new tests to check the different cases.

https://bugzilla.gnome.org/show_bug.cgi?id=768969
2016-07-28 22:22:14 +02:00

41 lines
836 B
Makefile

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)/callouts \
-I$(top_builddir)/callouts \
-DNETWORKMANAGER_COMPILATION \
-DSRCDIR=\"$(abs_srcdir)\" \
$(GLIB_CFLAGS)
noinst_PROGRAMS = \
test-dispatcher-envp
####### dispatcher envp #######
test_dispatcher_envp_SOURCES = \
test-dispatcher-envp.c
test_dispatcher_envp_LDADD = \
$(top_builddir)/libnm/libnm.la \
$(top_builddir)/callouts/libtest-dispatcher-envp.la \
$(GLIB_LIBS)
###########################################
@VALGRIND_RULES@
TESTS = test-dispatcher-envp
endif
EXTRA_DIST= \
dispatcher-connectivity-full \
dispatcher-connectivity-unknown \
dispatcher-down \
dispatcher-external \
dispatcher-up \
dispatcher-vpn-down \
dispatcher-vpn-up