1
0
mirror of https://gitlab.xiph.org/xiph/ezstream.git synced 2024-10-13 04:53:36 -04: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 echo "genhtml is required" >&2
exit 1 exit 1
fi fi
_pb=''
if [ -n "$(which nproc)" ]; then
_pb="-j $(nproc)"
fi
rm -rf "$DESTDIR" rm -rf "$DESTDIR"
make distclean || : make distclean || :
./configure CFLAGS='-O0 -fprofile-arcs -ftest-coverage -fstack-protector-all' ./configure CFLAGS='-O0 -fprofile-arcs -ftest-coverage -fstack-protector-all'
make check make ${_pb} check
mkdir -p $DESTDIR mkdir -p $DESTDIR
lcov --capture --output-file $DESTDIR/coverage.tmp \ lcov --capture --output-file $DESTDIR/coverage.tmp \