mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 00:04:29 +08:00
unit: Make mesh tests conditional
Mesh code can be disabled with use of --disable-mesh.
This commit is contained in:
parent
9a6ffbbb88
commit
8812296c86
@ -520,6 +520,7 @@ unit_test_midi_LDADD = src/libshared-glib.la \
|
||||
$(GLIB_LIBS) $(ALSA_LIBS)
|
||||
endif
|
||||
|
||||
if MESH
|
||||
unit_tests += unit/test-mesh-crypto
|
||||
unit_test_mesh_crypto_CPPFLAGS = $(ell_cflags)
|
||||
unit_test_mesh_crypto_SOURCES = unit/test-mesh-crypto.c \
|
||||
@ -527,6 +528,7 @@ unit_test_mesh_crypto_SOURCES = unit/test-mesh-crypto.c \
|
||||
$(ell_sources)
|
||||
unit_test_mesh_crypto_LDADD = src/libshared-ell.la \
|
||||
$(ell_ldadd)
|
||||
endif
|
||||
|
||||
if MAINTAINER_MODE
|
||||
noinst_PROGRAMS += $(unit_tests)
|
||||
|
Loading…
Reference in New Issue
Block a user