mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-01 13:55:36 +00:00
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:
parent
38d669d5ee
commit
9f5b80d215
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue