#! /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