![]() ![]() gcovr ( See for the installation instructions ).UnitTest solution installed in AS ( Tested with version 2.0.1.65 this supports the GCC 6.3.0 ).The following software parts are required if you want to follow all 'Usage' steps: The steps to display the coverage result require some 3e party programs but you can generate the coverage html results with other tools. The '-elf-gcov.exe' is used from the GCC compiler to convert the *.gcno and. The main part of the EmbGcov is just to generate the *.gcda files. On an embedded target you can run the coverage but keep in mind that the coverage generates some additional cpu load. The functions in 'EmbGcov' library provides the implementation to generate this at an ARSim and in an (real PLC) embedded target. The problem is that you are missing some implementations from the GCOV part. The GCC compiler supports code coverage with the '-coverage' option in the build option. It contains a small C/C++ tasks and libraries with the help of the UnitTesting package that can be used in Automation Studio. Automation Studio demo project to showcase the Code coverage function of the EmbGcov library. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |