Add commissioning code to codecov. (#555)

This commit is contained in:
Jonathan Hui
2016-09-12 11:31:13 -07:00
committed by GitHub
parent 8ab7f4c21b
commit 56f3239c44
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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()