[posix] enhance reset implementation to support code coverage (#3071)

This commit is contained in:
Yakun Xu
2018-09-14 10:59:07 -10:00
committed by Jonathan Hui
parent a23f778e11
commit ed794337e7
10 changed files with 78 additions and 43 deletions
+4
View File
@@ -129,6 +129,10 @@ ot_cli_mtd_LDFLAGS += -Wl,-Ma
endif
if OPENTHREAD_BUILD_COVERAGE
CPPFLAGS_COMMON += \
-DOPENTHREAD_ENABLE_COVERAGE \
$(NULL)
CLEANFILES = $(wildcard *.gcda *.gcno)
endif # OPENTHREAD_BUILD_COVERAGE