File: gcov.sh

package info (click to toggle)
libmatchbox 1.9-osso8-4
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,252 kB
  • ctags: 805
  • sloc: ansic: 8,002; sh: 5,792; makefile: 93
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