mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 09:21:28 +00:00
Quiet down the coverage output a bit
This commit is contained in:
parent
2aaa37b129
commit
d47a9d7752
|
@ -10,16 +10,16 @@ done
|
||||||
|
|
||||||
if (( $ret == 0 ))
|
if (( $ret == 0 ))
|
||||||
then
|
then
|
||||||
if grep 'enable-coverage:BOOL=YES' "$1/CMakeCache.txt"
|
if grep 'enable-coverage:BOOL=YES' "$1/CMakeCache.txt" > /dev/null
|
||||||
then
|
then
|
||||||
echo "Generating coverage reports"
|
echo "Generating coverage reports"
|
||||||
rm -rf "$1/coverage"
|
rm -rf "$1/coverage"
|
||||||
mkdir "$1/coverage"
|
mkdir "$1/coverage"
|
||||||
lcov --directory "$1" \
|
lcov --directory "$1" \
|
||||||
--capture \
|
--capture \
|
||||||
--output-file "$1/coverage/lcov.info"
|
--output-file "$1/coverage/lcov.info" > /dev/null
|
||||||
lcov --remove "$1/coverage/lcov.info" 'test/*' '/usr/*' \
|
lcov --remove "$1/coverage/lcov.info" 'test/*' '/usr/*' \
|
||||||
--output-file "$1/coverage/lcov.info.clean"
|
--output-file "$1/coverage/lcov.info.clean" > /dev/null
|
||||||
genhtml -o "$1/coverage/" "$1/coverage/lcov.info.clean"
|
genhtml -o "$1/coverage/" "$1/coverage/lcov.info.clean"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue