File: gcov.sh

package info (click to toggle)
libmatchbox 1.12%2Bgit20170224-2
  • links: PTS
  • area: main
  • in suites: bookworm, bullseye
  • size: 748 kB
  • sloc: ansic: 8,675; makefile: 110; sh: 11
file content (15 lines) | stat: -rwxr-xr-x 293 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#! /bin/bash -e

# Note: this probably requires Check 0.9.1 to work

rm -f ../libmb/.libs/*.da *.da
CF_FORK=no make check || true

for i in *.da; do
    gcov `basename $i .da`.c | grep executed
done

cd ../libmb
for i in *.c; do
    gcov -o .libs $i | grep -v /usr/include | grep executed
done