mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-05 08:50:27 +01:00
Rather than having test-crypto and test-setting-8021x be programs that you have to pass arguments to to get them to run a single test, just have them run all of the tests themselves. This lets us get rid of the big "check-local" rule in Makefile.am and just use TESTS to run everything. https://bugzilla.gnome.org/show_bug.cgi?id=734388
30 lines
581 B
Makefile
30 lines
581 B
Makefile
if ENABLE_TESTS
|
|
|
|
certsdir = $(top_srcdir)/libnm-util/tests/certs
|
|
|
|
AM_CPPFLAGS = \
|
|
-I${top_srcdir}/include \
|
|
-I$(top_srcdir)/libnm-core \
|
|
-I$(top_builddir)/libnm-core \
|
|
-DNETWORKMANAGER_COMPILATION \
|
|
-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
|
|
$(GLIB_CFLAGS) \
|
|
$(DBUS_CFLAGS) \
|
|
-DTEST_CERT_DIR=\"$(certsdir)\"
|
|
|
|
noinst_PROGRAMS = \
|
|
test-crypto \
|
|
test-general \
|
|
test-secrets \
|
|
test-setting-8021x \
|
|
test-setting-dcb \
|
|
test-settings-defaults
|
|
|
|
LDADD = \
|
|
$(top_builddir)/libnm-core/libnm-core.la \
|
|
$(GLIB_LIBS) \
|
|
$(DBUS_LIBS)
|
|
|
|
TESTS = $(noinst_PROGRAMS)
|
|
|
|
endif
|