travis: enable code coverage reporting. (#516)

This commit is contained in:
Jonathan Hui
2016-09-08 14:14:25 -07:00
committed by GitHub
parent 7c2b818d2e
commit 563685e187
13 changed files with 50 additions and 5 deletions
+12
View File
@@ -76,6 +76,9 @@ const struct Command Interpreter::sCommands[] =
#endif
{ "discover", &ProcessDiscover },
{ "eidcache", &ProcessEidCache },
#ifdef OPENTHREAD_EXAMPLES_POSIX
{ "exit", &ProcessExit },
#endif
{ "extaddr", &ProcessExtAddress },
{ "extpanid", &ProcessExtPanId },
{ "ifconfig", &ProcessIfconfig },
@@ -568,6 +571,15 @@ exit:
AppendResult(error);
}
#ifdef OPENTHREAD_EXAMPLES_POSIX
void Interpreter::ProcessExit(int argc, char *argv[])
{
exit(0);
(void)argc;
(void)argv;
}
#endif
void Interpreter::ProcessExtPanId(int argc, char *argv[])
{
ThreadError error = kThreadError_None;