mirror of
https://github.com/espressif/openthread.git
synced 2026-09-06 01:00:09 +00:00
Add commissioning code to codecov. (#555)
This commit is contained in:
@@ -92,7 +92,7 @@ configure_OPTIONS = \
|
||||
$(NULL)
|
||||
|
||||
ifeq ($(COVERAGE),1)
|
||||
configure_OPTIONS += --enable-coverage
|
||||
configure_OPTIONS += --enable-coverage --enable-commissioner --enable-joiner
|
||||
else
|
||||
configure_OPTIONS +=
|
||||
endif
|
||||
|
||||
@@ -100,7 +100,7 @@ class Node:
|
||||
if self.pexpect.isalive():
|
||||
if self.node_type == 'sim':
|
||||
self.send_command('exit')
|
||||
self.pexpect.expect('Done')
|
||||
self.pexpect.expect(pexpect.EOF)
|
||||
elif self.node_type == 'ncp-sim':
|
||||
self.pexpect.sendcontrol('c');
|
||||
self.pexpect.terminate()
|
||||
|
||||
Reference in New Issue
Block a user