1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00
freebsd-ports/mail/opendkim/files/lcov-helper.sh
Beech Rintoul 347035cc0d - Update to 2.8.0
- Release-announcement:
   http://lists.opendkim.org/archive/opendkim/announce/2013/02/0041.html

PR:		ports/176462
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
2013-02-27 08:42:44 +00:00

10 lines
284 B
Bash

#! /bin/sh
$1
x=$?
# keep consistant with Makefile.am
testname=${1#./t-}
testname=$(echo ${testname} | sed -e 's/-/_/g')
lcov --capture --directory .. --output-file $1.info --test-name ${testname} --quiet
lcov --remove $1.info '/usr/include/*' --output-file $1.info --quiet &
exit $x