From fc2c4856c4c3ddba84a72cfe09c9e6ac6bb1d1af Mon Sep 17 00:00:00 2001 From: Fernando da Silva Sousa Date: Mon, 4 Dec 2023 22:58:40 -0300 Subject: [PATCH] Change to jacoco again --- coverage.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/coverage.sh b/coverage.sh index 78b699c..586046c 100755 --- a/coverage.sh +++ b/coverage.sh @@ -1,7 +1,5 @@ #!/bin/bash -ROOT=$PWD - meson test -C build cp /usr/share/vala-0.56/vapi/glib-2.0.vapi build/unit.p @@ -10,6 +8,7 @@ find ./build/unit.p -type f -name "*.c" -exec cp {} build/unit.p \; gcovr --version -gcovr -r $ROOT --txt -o $ROOT/build/meson-logs/ --gcov-ignore-errors=all +gcovr -r $PWD --txt --jacoco -o $PWD/build/meson-logs/ --gcov-ignore-errors=all -cat $ROOT/build/meson-logs/coverage.txt +cat $PWD/build/meson-logs/coverage.txt +rm $PWD/build/meson-logs/coverage.txt