DPDK patches and discussions
 help / color / mirror / Atom feed
* [RFC PATCH 0/1] Add support for code-coverage analysis
@ 2022-09-06 16:43 Felix Moessbauer
  2022-09-06 16:43 ` [RFC PATCH 1/1] Add basic support for code coverage analysis Felix Moessbauer
  2022-09-14 14:29 ` [RFC PATCH 0/1] Add support for code-coverage analysis Aaron Conole
  0 siblings, 2 replies; 4+ messages in thread
From: Felix Moessbauer @ 2022-09-06 16:43 UTC (permalink / raw)
  To: dev
  Cc: william.lam, chrisswindle, aconole, david.marchand,
	henning.schild, Felix Moessbauer

This patch has been developed as part of the DPDK Userspace Summit Hackathon.
It provides a PoC for code-coverage analysis for the DPDK project.

To generate the report, a developer simply follows the official
meson coverage workflow, described in [1].
In doing so, both an HTML report, as well as an XML version is generated
for further processing.

In short, the following steps are required:

- install gcovr
- meson -Db_coverage=true build-cov
- meson compile -C build-cov
- meson test -C build-cov --suite fast-tests
- ninja coverage -C build-cov

[1] https://mesonbuild.com/howtox.html#producing-a-coverage-report

Best regards,
Felix Moessbauer
Siemens AG

Felix Moessbauer (1):
  Add basic support for code coverage analysis

 gcovr.cfg | 8 ++++++++
 1 file changed, 8 insertions(+)
 create mode 100644 gcovr.cfg

-- 
2.30.2


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-08-20 15:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-06 16:43 [RFC PATCH 0/1] Add support for code-coverage analysis Felix Moessbauer
2022-09-06 16:43 ` [RFC PATCH 1/1] Add basic support for code coverage analysis Felix Moessbauer
2023-08-20 15:54   ` Stephen Hemminger
2022-09-14 14:29 ` [RFC PATCH 0/1] Add support for code-coverage analysis Aaron Conole

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).