BullseyeCoverage
Use the instructions for Eclipse IDE.
The integrated development environment cannot be configured to build using BullseyeCoverage. Build from the command prompt using a makefile as described below. This information applies to VisualDSP++ version 5.0.
Project Export Makefile
.
covc -i
in front of all compiler invocations in the makefile.
For example:
file.doj: file.cpp covc -i $(VDSP)/cc21k.exe -c file.c ... project.dxe: ... covc -i $(VDSP)/cc21k.exe file.doj ... -o project.dxe ...
cov01 -1 del Debug\* "C:\Program Files\Analog Devices\VisualDSP 5.0\gmake-378" -f project_export.mak "project_Debug"
By default, BullseyeCoverage automatically compiles and adds the run-time library
run/libcov-analogDevices.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.
The output file BullseyeCoverage.data-1
is written with the functions in <stdio.h>
.
When running under the simulator, this file appears in the directory where the executable is located.
#if _BullseyeCoverage cov_dumpData(); #endif
Updated: 6 Mar 2018
Copyright © Bullseye Testing Technology. All Rights Reserved.