From 56f3239c4426a680875111c46dfe2f9de7f9e967 Mon Sep 17 00:00:00 2001 From: Jonathan Hui Date: Mon, 12 Sep 2016 11:31:13 -0700 Subject: [PATCH] Add commissioning code to codecov. (#555) --- examples/Makefile-posix | 2 +- tests/scripts/thread-cert/node.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/Makefile-posix b/examples/Makefile-posix index fc1fc5fe5..dbc6a3299 100644 --- a/examples/Makefile-posix +++ b/examples/Makefile-posix @@ -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 diff --git a/tests/scripts/thread-cert/node.py b/tests/scripts/thread-cert/node.py index e11df7c85..aa9bddbbd 100755 --- a/tests/scripts/thread-cert/node.py +++ b/tests/scripts/thread-cert/node.py @@ -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()