[travis] add code coverage flag (#3037)

This commit is contained in:
Yakun Xu
2018-09-11 08:40:23 +08:00
committed by Jonathan Hui
parent c573dafe8e
commit afb4d2e72a
6 changed files with 36 additions and 16 deletions
+1 -3
View File
@@ -141,11 +141,9 @@ class otCli:
if self.pexpect and self.pexpect.isalive():
print("%d: exit" % self.nodeid)
self.pexpect.send('exit\n')
self.pexpect.expect(pexpect.EOF)
self.pexpect.terminate()
self._expect(pexpect.EOF)
self.pexpect.wait()
self.pexpect = None
sys.stdout.flush()
def send_command(self, cmd, go=True):
print("%d: %s" % (self.nodeid, cmd))