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:
parent
9c56f4a8db
commit
d93f313f97
@ -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 \
|
||||||
|
Loading…
Reference in New Issue
Block a user