1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-11-03 04:17:18 -05:00

Attempt to parallel-build coverage reports

This commit is contained in:
Moritz Grimm 2015-05-22 08:13:48 +02:00
parent 9c56f4a8db
commit d93f313f97

View File

@ -18,12 +18,16 @@ if [ -z "$(which genhtml)" ]; then
echo "genhtml is required" >&2
exit 1
fi
_pb=''
if [ -n "$(which nproc)" ]; then
_pb="-j $(nproc)"
fi
rm -rf "$DESTDIR"
make distclean || :
./configure CFLAGS='-O0 -fprofile-arcs -ftest-coverage -fstack-protector-all'
make check
make ${_pb} check
mkdir -p $DESTDIR
lcov --capture --output-file $DESTDIR/coverage.tmp \