summaryrefslogtreecommitdiff
path: root/.ci/run-tests.sh
diff options
context:
space:
mode:
Diffstat (limited to '.ci/run-tests.sh')
-rwxr-xr-x.ci/run-tests.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.ci/run-tests.sh b/.ci/run-tests.sh
index 93d616b..70c0ca0 100755
--- a/.ci/run-tests.sh
+++ b/.ci/run-tests.sh
@@ -6,6 +6,11 @@ SRCDIR=`pwd`
cd /home/user
cp -r $SRCDIR ./
cd "${CI_PROJECT_NAME}"
+
+# Workaround for https://github.com/gcovr/gcovr/issues/710: replace gcovr
+# with a wrapper that adds --gcov-ignore-parse-errors
+export PATH="$(pwd)/.ci:$PATH"
+
meson setup --localstatedir /var -Db_coverage=true _build
# FIXME until we can figure out how to depend on mocklibc being built for the tests
meson compile -C _build