diff options
| author | Sam James <sam@gentoo.org> | 2024-08-19 06:36:35 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2024-08-19 06:59:51 +0100 |
| commit | cdf646feb8ab7195c0fc9bc3bdf2ac999c2097fb (patch) | |
| tree | 4ae5268ac4f5aae0906a9c24d4588a4fbe1964b9 /ci | |
| parent | 9c3dcea2cda3b6eff90e72a826196bfb44d151d8 (diff) | |
| download | meson-cdf646feb8ab7195c0fc9bc3bdf2ac999c2097fb.tar.gz | |
ci: ubuntu: fix coverage unittests by patching/updating lcov
Hack for https://github.com/linux-test-project/lcov/issues/245. I tried
to backport https://github.com/linux-test-project/lcov/commit/bf135caf5f626e02191c42bd2773e08a0bb9b7e5
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: https://github.com/linux-test-project/lcov/issues/245
Diffstat (limited to 'ci')
| -rwxr-xr-x | ci/ciimage/ubuntu-rolling/install.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ci/ciimage/ubuntu-rolling/install.sh b/ci/ciimage/ubuntu-rolling/install.sh index b811fde47..1706d837d 100755 --- a/ci/ciimage/ubuntu-rolling/install.sh +++ b/ci/ciimage/ubuntu-rolling/install.sh @@ -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 |
