mirror of
https://github.com/swaywm/sway.git
synced 2024-11-25 01:11: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 ))
|
||||
then
|
||||
if grep 'enable-coverage:BOOL=YES' "$1/CMakeCache.txt"
|
||||
if grep 'enable-coverage:BOOL=YES' "$1/CMakeCache.txt" > /dev/null
|
||||
then
|
||||
echo "Generating coverage reports"
|
||||
rm -rf "$1/coverage"
|
||||
mkdir "$1/coverage"
|
||||
lcov --directory "$1" \
|
||||
--capture \
|
||||
--output-file "$1/coverage/lcov.info"
|
||||
--output-file "$1/coverage/lcov.info" > /dev/null
|
||||
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"
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue