You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/02/09 03:06:58 UTC
incubator-mynewt-core git commit: MYNEWT-534 Fix runtest package.
Repository: incubator-mynewt-core
Updated Branches:
refs/heads/develop eb3204502 -> b080fc05c
MYNEWT-534 Fix runtest package.
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/b080fc05
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/b080fc05
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/b080fc05
Branch: refs/heads/develop
Commit: b080fc05cfc285f921b595ad6a5cbdbfc81f4d5b
Parents: eb32045
Author: Christopher Collins <cc...@apache.org>
Authored: Wed Feb 8 19:06:46 2017 -0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Feb 8 19:06:46 2017 -0800
----------------------------------------------------------------------
test/runtest/include/runtest/runtest.h | 5 +++++
test/runtest/src/runtest.c | 5 ++++-
2 files changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b080fc05/test/runtest/include/runtest/runtest.h
----------------------------------------------------------------------
diff --git a/test/runtest/include/runtest/runtest.h b/test/runtest/include/runtest/runtest.h
index 12f3e52..65688ae 100644
--- a/test/runtest/include/runtest/runtest.h
+++ b/test/runtest/include/runtest/runtest.h
@@ -29,6 +29,11 @@ extern "C" {
void runtest_init(void);
/*
+ * Retrieves the event queue used by the runtest package.
+ */
+struct os_eventq *run_evq_get(void);
+
+/*
* Callback for runtest events - newtmgr uses this to add
* run test requests to default queue for test application (e.g., mynewtsanity)
*/
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/b080fc05/test/runtest/src/runtest.c
----------------------------------------------------------------------
diff --git a/test/runtest/src/runtest.c b/test/runtest/src/runtest.c
index 174e1c6..32c22ab 100644
--- a/test/runtest/src/runtest.c
+++ b/test/runtest/src/runtest.c
@@ -43,7 +43,10 @@ static struct os_eventq *run_evq;
extern int run_nmgr_register_group();
-static struct os_eventq *
+/**
+ * Retrieves the event queue used by the runtest package.
+ */
+struct os_eventq *
run_evq_get(void)
{
return run_evq;