From d47a9d7752d6a1faa201005f9c4d7f4588fad877 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 19 Jun 2016 13:51:32 -0400 Subject: [PATCH] Quiet down the coverage output a bit --- test/runner | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/runner b/test/runner index 35004f5a..7baf032d 100755 --- a/test/runner +++ b/test/runner @@ -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