aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-11-09 12:56:11 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-11-09 12:56:11 +0000
commita016a7cce0c1869a62cc70ea8e4569be726304ed (patch)
treee510fd2bb0464120712b536467710bb6db5a6a94
parent1c954dfc6db6d7e71b94c4110d7b11e1c4e32e37 (diff)
downloadChibiOS-a016a7cce0c1869a62cc70ea8e4569be726304ed.tar.gz
ChibiOS-a016a7cce0c1869a62cc70ea8e4569be726304ed.tar.bz2
ChibiOS-a016a7cce0c1869a62cc70ea8e4569be726304ed.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7498 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r--os/rt/src/chmsg.c2
-rw-r--r--test/rt/testbuild/go.sh84
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