From ed9c0c4ac9b4ffc8c502e3fab21446723e39e652 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 20 Mar 2016 11:37:22 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9142 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- test/rt/configuration.xml | 252 +++++++++++++++++++++++++------------- 1 file changed, 166 insertions(+), 86 deletions(-) diff --git a/test/rt/configuration.xml b/test/rt/configuration.xml index a0d8b5acc..b08626d7a 100644 --- a/test/rt/configuration.xml +++ b/test/rt/configuration.xml @@ -27,53 +27,15 @@ */]]> - Test suite for ChibiOS/RT. The purpose of this suite is to perform unit tests on the NIL modules and to converge to 100% code coverage through successive improvements. + Test suite for ChibiOS/RT. The purpose of this suite is to perform unit tests on the RT modules and to converge to 100% code coverage through successive improvements. - + - + @@ -85,35 +47,35 @@ THD_FUNCTION(test_support, arg) { System layer and port interface. - The functionality of the system layer and port interface is tested. + The functionality of the system layer and port interface is tested. Basic RT functionality is taken for granted or this test suite could not even be executed. Errors in implementation are detected by executing this sequence with the state checker enabled (CH_DBG_STATE_CHECKER=TRUE). - - Critical zones functionality. + System integrity functionality. - The critical zones API is invoked for coverage. Functionality is take for granted by the correct implementation of the port layer. This test suite relies on such correct implementation. + The system self-test functionality is invoked in order to make an initial system state assessment and for coverage. @@ -126,34 +88,114 @@ static void vtcb(void *p) { - + - Testing chSysGetStatusAndLockX() and chSysRestoreStatusX() for coverage, non reentrant case. - - - - - - - - - - - Testing chSysGetStatusAndLockX() and chSysRestoreStatusX() for coverage, reentrant case. + Testing Ready List integrity. + + + + + Testing Virtual Timers List integrity. + + + + + + + + + + + Testing Registry List integrity. + + + + + + + + + + + Testing Port-defined integrity. + + + + + + + + + + + + + Critical zones functionality. + + + The critical zones API is invoked for coverage. + + + + + + + + + + + + + + + + + + + Testing chSysGetStatusAndLockX() and chSysRestoreStatusX(), non reentrant case. + + + + + + + + + + + Testing chSysGetStatusAndLockX() and chSysRestoreStatusX(), reentrant case. + + + + + + @@ -165,8 +207,8 @@ chSysUnlock();]]> - @@ -178,8 +220,8 @@ chSysUnlock();]]> - @@ -191,15 +233,53 @@ chSysUnconditionalUnlock();]]> - + + + Interrupts handling functionality. + + + The interrupts handling API is invoked for coverage. + + + + + + + + + + + + + + + + + + + Testing chSysSuspend(), chSysDisable() and chSysEnable(). + + + + + + + + + +