[glib/ci-msys2-fix-lcovrc-path] ci/msys2: fix path to the lcov config file



commit bf032e3e043f6a2993e70904f208191d237bfc37
Author: Christoph Reiter <creiter src gnome org>
Date:   Wed Oct 17 18:12:40 2018 +0200

    ci/msys2: fix path to the lcov config file
    
    It was using a relative path to the source directory but we run lcov
    in the build directory.

 .gitlab-ci/test-msys2.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh
index 149c7137c..ed129c038 100755
--- a/.gitlab-ci/test-msys2.sh
+++ b/.gitlab-ci/test-msys2.sh
@@ -44,7 +44,7 @@ ninja
 
 "${LCOV}" \
     --quiet \
-    --config-file .gitlab-ci/lcovrc \
+    --config-file "${DIR}"/.gitlab-ci/lcovrc \
     --directory "${DIR}/_build" \
     --capture \
     --initial \
@@ -55,7 +55,7 @@ meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER} || true
 
 "${LCOV}" \
     --quiet \
-    --config-file .gitlab-ci/lcovrc \
+    --config-file "${DIR}"/.gitlab-ci/lcovrc \
     --directory "${DIR}/_build" \
     --capture \
     --output-file "${DIR}/_coverage/${CI_JOB_NAME}.lcov"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]