]> begriffs open source - freertos/commit
Import the code coverage test additions from the (unpublished) Visual Studio project...
authorRichard Barry <ribarry@amazon.com>
Wed, 14 Mar 2018 15:58:47 +0000 (15:58 +0000)
committerRichard Barry <ribarry@amazon.com>
Wed, 14 Mar 2018 15:58:47 +0000 (15:58 +0000)
commitaec45f247904ae3c80b3d41ae4672d948cdbbb43
tree03a5fe86a4538edce7d9e8f7583059f226d8da48
parentbf8d9f4726e38defc3855919b1586a948cb38d53
Import the code coverage test additions from the (unpublished) Visual Studio project to the (published) MingW/Eclipse project.
Update the MingW/Eclipse project to add a code coverage build configuration in addition to the existing Debug build configuration.
Update StreamBufferDemo.c so functions are called directly, rather than via configASSERT(), so their code coverage can be measured when configASSERT() is not defined.
In the Win32 port, replace the call to TerminateProcess() in vPortEndScheduler() with exit( 0 ) - which triggers the writing of the code coverage data to the disk.
Fix bug in ucStreamBufferGetStreamBufferType() - which is only used by the Percepio trace tool.
Update the line within vTaskStartScheduler() that was setting xTickCount to 0 to instead set it to configINITIAL_TICK_COUNT.
14 files changed:
FreeRTOS/Demo/Common/Minimal/EventGroupsDemo.c
FreeRTOS/Demo/Common/Minimal/GenQTest.c
FreeRTOS/Demo/Common/Minimal/StaticAllocation.c
FreeRTOS/Demo/Common/Minimal/StreamBufferDemo.c
FreeRTOS/Demo/WIN32-MSVC/.vs/WIN32/v14/.suo
FreeRTOS/Demo/WIN32-MingW/.cproject
FreeRTOS/Demo/WIN32-MingW/FreeRTOSConfig.h
FreeRTOS/Demo/WIN32-MingW/code_coverage_additions.c [new file with mode: 0644]
FreeRTOS/Demo/WIN32-MingW/main.c
FreeRTOS/Demo/WIN32-MingW/main_full.c
FreeRTOS/Source/portable/MSVC-MingW/port.c
FreeRTOS/Source/queue.c
FreeRTOS/Source/stream_buffer.c
FreeRTOS/Source/tasks.c