build: don't guard check-local with "if ENABLE_TESTS"

We should enable tests by default, probably we even should drop
the configure flags to enable tests and just always build them.

Anyway, at this point there is no use in guarding check-local
with a check for ENABLE_TESTS. A user who does't want to run
the tests, should just not call `make check`.
This commit is contained in:
Thomas Haller 2016-10-12 10:42:23 +02:00
parent 38d669d5ee
commit 9f5b80d215
7 changed files with 0 additions and 34 deletions

View file

@ -222,10 +222,5 @@ typelib_DATA = $(INTROSPECTION_GIRS:.gir=.typelib)
CLEANFILES += $(gir_DATA) $(typelib_DATA)
endif
if ENABLE_TESTS
check-local:
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-glib.so $(SYMBOL_VIS_FILE)
endif

View file

@ -196,10 +196,5 @@ CLEANFILES = $(gir_DATA) $(typelib_DATA)
endif
if ENABLE_TESTS
check-local:
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-util.so $(SYMBOL_VIS_FILE)
endif

View file

@ -37,11 +37,6 @@ libnm_device_plugin_adsl_la_LIBADD = \
EXTRA_DIST = $(SYMBOL_VIS_FILE)
if ENABLE_TESTS
check-local:
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-device-plugin-adsl.so $(SYMBOL_VIS_FILE)
$(call check_so_symbols,$(builddir)/.libs/libnm-device-plugin-adsl.so)
endif

View file

@ -73,11 +73,6 @@ endif
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = $(SYMBOL_VIS_FILE)
if ENABLE_TESTS
check-local:
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-device-plugin-bluetooth.so $(SYMBOL_VIS_FILE)
$(call check_so_symbols,$(builddir)/.libs/libnm-device-plugin-bluetooth.so)
endif

View file

@ -47,10 +47,6 @@ endif
EXTRA_DIST = $(SYMBOL_VIS_FILE)
if ENABLE_TESTS
check-local:
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-device-plugin-team.so $(SYMBOL_VIS_FILE)
$(call check_so_symbols,$(builddir)/.libs/libnm-device-plugin-team.so)
endif

View file

@ -50,11 +50,6 @@ libnm_device_plugin_wifi_la_LIBADD = \
EXTRA_DIST = $(SYMBOL_VIS_FILE)
if ENABLE_TESTS
check-local:
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-device-plugin-wifi.so $(SYMBOL_VIS_FILE)
$(call check_so_symbols,$(builddir)/.libs/libnm-device-plugin-wifi.so)
endif

View file

@ -85,14 +85,9 @@ libnm_device_plugin_wwan_la_LIBADD = \
CLEANFILES = $(BUILT_SOURCES)
EXTRA_DIST = $(SYMBOL_VIS_FILE) $(WWAN_SYMBOL_VIS_FILE)
if ENABLE_TESTS
check-local:
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-device-plugin-wwan.so $(SYMBOL_VIS_FILE)
$(call check_so_symbols,$(builddir)/.libs/libnm-device-plugin-wwan.so)
$(top_srcdir)/tools/check-exports.sh $(builddir)/.libs/libnm-wwan.so $(WWAN_SYMBOL_VIS_FILE)
$(call check_so_symbols,$(builddir)/.libs/libnm-wwan.so)
endif