mirror of
https://github.com/espressif/openthread.git
synced 2026-09-08 02:00:12 +00:00
travis: enable code coverage reporting. (#516)
This commit is contained in:
@@ -98,7 +98,10 @@ class Node:
|
||||
|
||||
def __del__(self):
|
||||
if self.pexpect.isalive():
|
||||
if self.node_type == 'ncp-sim':
|
||||
if self.node_type == 'sim':
|
||||
self.send_command('exit')
|
||||
self.pexpect.expect('Done')
|
||||
elif self.node_type == 'ncp-sim':
|
||||
self.pexpect.sendcontrol('c');
|
||||
self.pexpect.terminate()
|
||||
self.pexpect.close(force=True)
|
||||
|
||||
@@ -142,6 +142,10 @@ test_diag_LDADD = $(top_builddir)/src/diag/libopenthread-diag.a
|
||||
test_diag_SOURCES = test_diag.cpp
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user