mirror of
https://github.com/espressif/openthread.git
synced 2026-08-14 14:47:46 +00:00
guard ncp spinel tests with OPENTHREAD_BUILD_TESTS (#187)
This commit is contained in:
committed by
Jonathan Hui
parent
089a365b55
commit
40e01827ab
@@ -67,6 +67,8 @@ libopenthread_ncp_a_SOURCES = \
|
||||
include_HEADERS = \
|
||||
$(NULL)
|
||||
|
||||
if OPENTHREAD_BUILD_TESTS
|
||||
|
||||
noinst_PROGRAMS = spinel-test
|
||||
spinel_test_SOURCES = spinel.c
|
||||
spinel_test_CFLAGS = -DSPINEL_SELF_TEST=1
|
||||
@@ -78,5 +80,6 @@ install-headers: install-includeHEADERS
|
||||
if OPENTHREAD_BUILD_COVERAGE
|
||||
CLEANFILES = $(wildcard *.gcda *.gcno)
|
||||
endif # OPENTHREAD_BUILD_COVERAGE
|
||||
endif # OPENTHREAD_BUILD_TESTS
|
||||
|
||||
include $(abs_top_nlbuild_autotools_dir)/automake/post.am
|
||||
|
||||
@@ -568,7 +568,7 @@ exit:
|
||||
void NcpBase::HandleCommandPropertySet(uint8_t header, spinel_prop_key_t key, const uint8_t *value_ptr,
|
||||
uint16_t value_len)
|
||||
{
|
||||
int i;
|
||||
unsigned i;
|
||||
|
||||
if (mSending)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user