Skip to content

Commit 8dc0b7e

Browse files
a-waiJenySadadia
authored andcommitted
config: docker: base: host-tools: add gcovr
`gcovr` is needed to post-process coverage data. However, the version available in Debian Bookworm is old and lacks features we need, such as generating `lcov`-compatible tracefiles. Install it using `pip` as a temporary workaround. Signed-off-by: Arnaud Ferraris <[email protected]>
1 parent b5c710b commit 8dc0b7e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config/docker/base/host-tools.jinja2

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@ RUN apt-get update && apt-get install --no-install-recommends -y \
9595
# Install dtschema for dtbs_check
9696
RUN pip3 install dtschema --break-system-packages
9797

98+
# Install gcovr from pip as bookworm's version is too old
99+
# FIXME: revert to installing with apt after switching to trixie
100+
RUN pip3 install gcovr --break-system-packages
101+
98102
# Download and build pahole v1.28
99103
RUN wget -c https://web.git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-1.29.tar.gz && \
100104
tar -xzf pahole-1.29.tar.gz && \

0 commit comments

Comments
 (0)