mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-15 01:07:47 -04:00
* Fix one typical misusage of CMock. CMock has three policies when dealing with pointer: 1. compare_ptr : compare the pointer itself; 2. compare_data : compare the data which is pointed by pointer; 3. smart : compare the pointer itself, or compare the data; By default, CMock use compare_data policy. Most test cases in FreeRTOS need to compare the pointer itself, and we haven't use CMock properly. For example, one test case of vTaskResume is wrong, because current CMock compares the data pointed by pointer, so the error didn't exposed. There are so many misusage need to fix, it will take a lot of work. I'm here to fix one typical misusage first. * Try to fix formatting syntax. |
||
---|---|---|
.. | ||
tasks_freertos | ||
FreeRTOSConfig_1.h | ||
FreeRTOSConfig_2.h | ||
FreeRTOSConfig_assert.h | ||
global_vars.h | ||
list_macros.h | ||
Makefile | ||
tasks.yml | ||
tasks_1_utest.c | ||
tasks_2_utest.c | ||
tasks_assert_utest.c |