Skip to content

Commit

Permalink
CI/msys2: disable coverage reporting, lcov doesn't support gcc9 yet
Browse files Browse the repository at this point in the history
(Backport: Fix minor cherry-pick conflicts.)

linux-test-project/lcov#58

Fixes: #1795
  • Loading branch information
lazka authored and pwithnall committed Jun 3, 2019
1 parent 1dfef5d commit 97376f9
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .gitlab-ci/test-msys2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,20 +42,23 @@ meson --werror --buildtype debug _build
cd _build
ninja

"${LCOV}" \
--quiet \
--config-file "${DIR}"/.gitlab-ci/lcovrc \
--directory "${DIR}/_build" \
--capture \
--initial \
--output-file "${DIR}/_coverage/${CI_JOB_NAME}-baseline.lcov"
# FIXME: lcov doesn't support gcc9 yet:
# https://github.com/linux-test-project/lcov/issues/58
#"${LCOV}" \
# --quiet \
# --config-file "${DIR}"/.gitlab-ci/lcovrc \
# --directory "${DIR}/_build" \
# --capture \
# --initial \
# --output-file "${DIR}/_coverage/${CI_JOB_NAME}-baseline.lcov"

# FIXME: fix the test suite
meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} --no-suite flaky || true

"${LCOV}" \
--quiet \
--config-file "${DIR}"/.gitlab-ci/lcovrc \
--directory "${DIR}/_build" \
--capture \
--output-file "${DIR}/_coverage/${CI_JOB_NAME}.lcov"
# FIXME: see above
#"${LCOV}" \
# --quiet \
# --config-file "${DIR}"/.gitlab-ci/lcovrc \
# --directory "${DIR}/_build" \
# --capture \
# --output-file "${DIR}/_coverage/${CI_JOB_NAME}.lcov"

0 comments on commit 97376f9

Please sign in to comment.