mirror of
https://github.com/espressif/openthread.git
synced 2026-07-11 06:40:19 +00:00
travis: enable code coverage reporting. (#516)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user