Project

General

Profile

Support #22188

Calculate code coverage of artdaq unit tests

Added by Eric Flumerfelt almost 2 years ago. Updated 10 days ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
Start date:
03/22/2019
Due date:
% Done:

0%

Estimated time:
Experiment:
Auger
Co-Assignees:
Duration:

Description

I have explored using gcov and lcov to create code coverage reports for our unit tests. These reports can be used to help ensure that critical sections of the artdaq suite code are fully exercised by our unit test suite.

History

#1 Updated by Eric Flumerfelt almost 2 years ago

CMake code to calculate code coverage is on artdaq-core:feature/22188_CodeCoverage.

#2 Updated by Ron Rechenmacher about 1 month ago

  • Status changed from Work in progress to Resolved
mrb gitCheckout -d artdaq_mpich_plugin   ssh://p-artdaq-utilities@cdcvs.fnal.gov/cvs/projects/artdaq-utilities-mpich-plugin
mrb gitCheckout -d artdaq_ganglia_plugin ssh://p-artdaq-utilities@cdcvs.fnal.gov/cvs/projects/artdaq-utilities-ganglia-plugin
mrb gitCheckout -d artdaq_mfextensions   ssh://p-mf-extensions@cdcvs.fnal.gov/cvs/projects/mf-extensions-git
mrb gitCheckout -d artdaq_epics_plugin   ssh://p-artdaq-utilities@cdcvs.fnal.gov/cvs/projects/artdaq-utilities-epics-plugin
mrb gitCheckout -d artdaq_pcp_mmv_plugin ssh://p-artdaq-utilities@cdcvs.fnal.gov/cvs/projects/artdaq-utilities-pcp-mmv-plugin
mrb gitCheckout -d artdaq_demo_hdf5      ssh://p-artdaq-demo@cdcvs.fnal.gov/cvs/projects/artdaq-demo-hdf5

Went over script w/ Eric...
ran demo, code review, and ran new artdaq_demo/tools/calculate_test_coverage.sh

#3 Updated by Ron Rechenmacher about 1 month ago

  • Status changed from Resolved to Reviewed
merged into develop in all the repos:
  • artdaq
  • artdaq_core
  • artdaq_core_demo
  • artdaq_demo
  • artdaq_demo_hdf5
  • artdaq_epics_plugin
  • artdaq_ganglia_plugin
  • artdaq_mfextensions
  • artdaq_mpich_plugin
  • artdaq_pcp_mmv_plugin
  • artdaq_utilities

#4 Updated by Gennadiy Lukhanin 12 days ago

artdaq-core:feature/22188_UtilitiesTests was tested on the Icarus cluster for interference with the SBN DAQ software and merged into the develop branch.

#5 Updated by Eric Flumerfelt 10 days ago

  • Target version set to artdaq v3_09_04
  • Status changed from Reviewed to Closed

Also available in: Atom PDF