BullseyeCoverage Up Contents Search

VxWorks

VxWorks is no longer officially supported, as of 16 Apr 2019. This documentation is included because it may be helpful for preexisting VxWorks users, but there are no guarantees.

This documentation applies to VxWorks 6.3-6.9 and Wind River Workbench 2.5-3.3. This information does not apply to VxWorks 7 or later.

Integrating with Wind River Workbench

  1. Use the command Project Properties
  2. Click on Build Properties
  3. Click on Build Tools
  4. Select Build tool C-Compiler
  5. In the Command edit box, insert the text below in front of $(TOOL_PATH). The quotes are not part of the text. Note the trailing space.
    Windows:"c:/Program Files/BullseyeCoverage/bin/covc -i "
    Linux:"/opt/BullseyeCoverage/bin/covc -i "
  6. Select Build tool C++-Compiler. Repeat step 5.
  7. Select Build tool Linker. Repeat step 5.
  8. Press the OK button.

Project Properties

Run-Time Library Built Automatically

By default, BullseyeCoverage automatically compiles and adds the run-time library run/libcov-vxworks.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.

Saving Coverage

Add a call to cov_dumpData into your program. When running under the simulator, the output file /tgtsvr/BullseyeCoverage.data-pid is written to the temporary directory.

#if _BullseyeCoverage
    cov_dumpData();
#endif

Tornado

Updated: 16 Apr 2019