mirror of
https://github.com/espressif/openthread.git
synced 2026-08-12 05:37:46 +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;
|
||||
|
||||
@@ -147,6 +147,9 @@ private:
|
||||
#endif // OPENTHREAD_ENABLE_DIAG
|
||||
static void ProcessDiscover(int argc, char *argv[]);
|
||||
static void ProcessEidCache(int argc, char *argv[]);
|
||||
#ifdef OPENTHREAD_EXAMPLES_POSIX
|
||||
static void ProcessExit(int argc, char *argv[]);
|
||||
#endif
|
||||
static void ProcessExtAddress(int argc, char *argv[]);
|
||||
static void ProcessExtPanId(int argc, char *argv[]);
|
||||
static void ProcessIfconfig(int argc, char *argv[]);
|
||||
|
||||
Reference in New Issue
Block a user