CI/msys2: disable coverage reporting, lcov doesn't support gcc9 yet

https://github.com/linux-test-project/lcov/issues/58
This commit is contained in:
Christoph Reiter 2019-05-29 18:23:05 +02:00
parent d258bb5be3
commit ab325c24d5

View File

@ -42,13 +42,15 @@ meson --werror --buildtype debug _build
cd _build cd _build
ninja ninja
"${LCOV}" \ # FIXME: lcov doesn't support gcc9 yet:
--quiet \ # https://github.com/linux-test-project/lcov/issues/58
--config-file "${DIR}"/.gitlab-ci/lcovrc \ #"${LCOV}" \
--directory "${DIR}/_build" \ # --quiet \
--capture \ # --config-file "${DIR}"/.gitlab-ci/lcovrc \
--initial \ # --directory "${DIR}/_build" \
--output-file "${DIR}/_coverage/${CI_JOB_NAME}-baseline.lcov" # --capture \
# --initial \
# --output-file "${DIR}/_coverage/${CI_JOB_NAME}-baseline.lcov"
# FIXME: fix the test suite # FIXME: fix the test suite
meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} --no-suite flaky || true meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} --no-suite flaky || true
@ -59,9 +61,10 @@ python3 "${DIR}"/.gitlab-ci/meson-junit-report.py \
--output "${DIR}/_build/${CI_JOB_NAME}-report.xml" \ --output "${DIR}/_build/${CI_JOB_NAME}-report.xml" \
"${DIR}/_build/meson-logs/testlog.json" "${DIR}/_build/meson-logs/testlog.json"
"${LCOV}" \ # FIXME: see above
--quiet \ #"${LCOV}" \
--config-file "${DIR}"/.gitlab-ci/lcovrc \ # --quiet \
--directory "${DIR}/_build" \ # --config-file "${DIR}"/.gitlab-ci/lcovrc \
--capture \ # --directory "${DIR}/_build" \
--output-file "${DIR}/_coverage/${CI_JOB_NAME}.lcov" # --capture \
# --output-file "${DIR}/_coverage/${CI_JOB_NAME}.lcov"