BullseyeCoverage
The MULTI IDE cannot be configured to build using BullseyeCoverage. However, you can build projects from a command prompt.
Follow these steps to build your project with instrumentation.
PATH
environment variable.
For example,
C:\>set PATH=%ProgramFiles%\BullseyeCoverage\bin;C:\Program Files (x86)\TASKING\TriCore v6.2r2\ctc\bin;%PATH%
C:\>cd C:\workspace_ctc_v6.2r2\HelloWorld\Debug
amk
with PRODDIR
set to the BullseyeCoverage directory.
For example:
C:\workspace_ctc_v6.2r2\HelloWorld\Debug>cov01 -1 C:\workspace_ctc_v6.2r2\HelloWorld\Debug>amk PRODDIR="%ProgramFiles%\BullseyeCoverage" -a all
By default, BullseyeCoverage automatically compiles and adds the run-time library
run/libcov-tasking.c
to compiler invocations that link an executable.
This source implements the small footprint configuration.
You can override this behavior by one of the alternatives below.
libcov-
,
for example libcov-userDefined.a
--lib
Add a call to cov_dumpData into your program.
#if _BullseyeCoverage cov_dumpData(); #endif
Updated: 27 Sep 2023
Copyright © Bullseye Testing Technology. All Rights Reserved.