Skip to content

Commit

Permalink
ci: ubuntu: fix coverage unittests by patching/updating lcov
Browse files Browse the repository at this point in the history
Hack for linux-test-project/lcov#245. I tried
to backport linux-test-project/lcov@bf135ca
but had no luck (worked in one container but didn'y apply in another, whatever).

This fixes the coverage unittests.

>=lcov-2.1-beta works fine. The beta has landed in a beta version of
Ubuntu too.

Bug: linux-test-project/lcov#245
  • Loading branch information
thesamesam committed Aug 19, 2024
1 parent 9c3dcea commit cdf646f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions ci/ciimage/ubuntu-rolling/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ cp LICENSE /usr/share/doc/zig
cd ..
rm -rf "$ZIG_BASE"

# Hack for https://github.com/linux-test-project/lcov/issues/245
# https://github.com/linux-test-project/lcov/commit/bf135caf5f626e02191c42bd2773e08a0bb9b7e5
# XXX: Drop this once Ubuntu has lcov-2.1*
git clone https://github.com/linux-test-project/lcov
cd lcov
make install

# cleanup
apt-get -y clean
apt-get -y autoclean

0 comments on commit cdf646f

Please sign in to comment.