Skip to content

Commit

Permalink
Change to jacoco again
Browse files Browse the repository at this point in the history
  • Loading branch information
naaando committed Dec 5, 2023
1 parent be76eb6 commit fc2c485
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions coverage.sh
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

0 comments on commit fc2c485

Please sign in to comment.