[RFC PATCH 1/1] Add basic support for code coverage analysis
Stephen Hemminger
stephen at networkplumber.org
Sun Aug 20 17:54:36 CEST 2023
On Tue, 6 Sep 2022 18:43:09 +0200
Felix Moessbauer <felix.moessbauer at siemens.com> wrote:
> This patch adds basic support to get meaningful
> code coverage statistics for some central components.
> To keep things simple, we only focus on the parts that are
> tested as part of the "fast-tests" suite.
> This includes the lib as well as drivers that do not require
> special hardware to be tested.
>
> By providing the gcovr.cfg file in the project root,
> modern versions of meson (>=0.63) can pass that information
> to gcovr, making it possible to configure the coverage target
> of meson.
> This enables us to use the default meson coverage infrastructure
> and customize it for the needs of the DPDK project.
>
> Signed-off-by: Felix Moessbauer <felix.moessbauer at siemens.com>
> Acked-by: William Lam <william.lam at bytedance.com>
> Acked-by: Chriss Windle <chrisswindle at microsoft.com>
Not sure why this patch stalled. Seems ok but the set of drivers seems
quite small. Would be good to do it across wider set.
More information about the dev
mailing list