can anyone tell me what it the exact purpose of mtCOVERAGE_TEST_MARKER() macro in FreeRTOS sources? By default it expands to nothing.
It is obviously used for some coverage test, but I can't really think of a code that can be universally useful in all places where this macro is used.
They provide thorough code coverage analysis - so each time there is an if() without an else we can see in a more automated way if the code has taken the path where the if() evaluates to true and where the if() evaluates to false - rather than just one path. The coverage tests are not published, but the general coding standard is found here: http://www.freertos.org/FreeRTOS-Coding-Standard-and-Style-Guide.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With