mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-30 22:30:11 +01:00
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
41 lines
836 B
Makefile
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
|