diff options
-rw-r--r-- | os/rt/src/chmsg.c | 2 | ||||
-rw-r--r-- | test/rt/testbuild/go.sh | 84 |
2 files changed, 85 insertions, 1 deletions
diff --git a/os/rt/src/chmsg.c b/os/rt/src/chmsg.c index bb087b24a..4cbdb7867 100644 --- a/os/rt/src/chmsg.c +++ b/os/rt/src/chmsg.c @@ -65,7 +65,7 @@ /*===========================================================================*/
#if CH_CFG_USE_MESSAGES_PRIORITY
-#define msg_insert(tp, qp) prio_insert(tp, qp)
+#define msg_insert(tp, qp) queue_prio_insert(tp, qp)
#else
#define msg_insert(tp, qp) queue_insert(tp, qp)
#endif
diff --git a/test/rt/testbuild/go.sh b/test/rt/testbuild/go.sh index b844fbbc8..53ae492d0 100644 --- a/test/rt/testbuild/go.sh +++ b/test/rt/testbuild/go.sh @@ -90,3 +90,87 @@ XDEFS=-DCH_CFG_USE_EVENTS_TIMEOUT=FALSE compile execute_test +echo "CH_CFG_USE_MESSAGES=FALSE" +XDEFS=-DCH_CFG_USE_MESSAGES=FALSE +compile +execute_test + +echo "CH_CFG_USE_MESSAGES_PRIORITY=TRUE" +XDEFS=-DCH_CFG_USE_MESSAGES_PRIORITY=TRUE +compile +execute_test + +echo "CH_CFG_USE_MAILBOXES=FALSE" +XDEFS=-DCH_CFG_USE_MAILBOXES=FALSE +compile +execute_test + +echo "CH_CFG_USE_MEMCORE=FALSE CH_CFG_USE_MEMPOOLS=FALSE CH_CFG_USE_HEAP=FALSE CH_CFG_USE_DYNAMIC=FALSE" +XDEFS="-DCH_CFG_USE_MEMCORE=FALSE -DCH_CFG_USE_MEMPOOLS=FALSE -DCH_CFG_USE_HEAP=FALSE -DCH_CFG_USE_DYNAMIC=FALSE" +compile +execute_test + +echo "CH_CFG_USE_MEMPOOLS=FALSE CH_CFG_USE_HEAP=FALSE CH_CFG_USE_DYNAMIC=FALSE" +XDEFS="-DCH_CFG_USE_MEMPOOLS=FALSE -DCH_CFG_USE_HEAP=FALSE -DCH_CFG_USE_DYNAMIC=FALSE" +compile +execute_test + +echo "CH_CFG_USE_MEMPOOLS=FALSE" +XDEFS="-DCH_CFG_USE_MEMPOOLS=FALSE" +compile +execute_test + +echo "CH_CFG_USE_HEAP=FALSE" +XDEFS="-DCH_CFG_USE_HEAP=FALSE" +compile +execute_test + +echo "CH_CFG_USE_DYNAMIC=FALSE" +XDEFS=-DCH_CFG_USE_DYNAMIC=FALSE +compile +execute_test + +#echo "CH_DBG_STATISTICS=TRUE" +#XDEFS=-DCH_DBG_STATISTICS=TRUE +#compile +#execute_test + +echo "CH_DBG_SYSTEM_STATE_CHECK=TRUE" +XDEFS=-DCH_DBG_SYSTEM_STATE_CHECK=TRUE +compile +execute_test + +echo "CH_DBG_ENABLE_CHECKS=TRUE" +XDEFS=-DCH_DBG_ENABLE_CHECKS=TRUE +compile +execute_test + +echo "CH_DBG_ENABLE_ASSERTS=TRUE" +XDEFS=-DCH_DBG_ENABLE_ASSERTS=TRUE +compile +execute_test + +echo "CH_DBG_ENABLE_TRACE=TRUE" +XDEFS=-DCH_DBG_ENABLE_TRACE=TRUE +compile +execute_test + +#echo "CH_DBG_ENABLE_STACK_CHECK=TRUE" +#XDEFS=-DCH_DBG_ENABLE_STACK_CHECK=TRUE +#compile +#execute_test + +echo "CH_DBG_FILL_THREADS=TRUE" +XDEFS=-DCH_DBG_FILL_THREADS=TRUE +compile +execute_test + +echo "CH_DBG_THREADS_PROFILING=FALSE" +XDEFS=-DCH_DBG_THREADS_PROFILING=FALSE +compile +execute_test + +echo "CH_DBG_SYSTEM_STATE_CHECK=TRUE CH_DBG_ENABLE_CHECKS=TRUE CH_DBG_ENABLE_ASSERTS=TRUE CH_DBG_ENABLE_TRACE=TRUE CH_DBG_FILL_THREADS=TRUE" +XDEFS="-DCH_DBG_SYSTEM_STATE_CHECK=TRUE -DCH_DBG_ENABLE_CHECKS=TRUE -DCH_DBG_ENABLE_ASSERTS=TRUE -DCH_DBG_ENABLE_TRACE=TRUE -DCH_DBG_FILL_THREADS=TRUE" +compile +execute_test |