Skip to content
Snippets Groups Projects
Commit eb76329f authored by Bill Lorensen's avatar Bill Lorensen
Browse files

ENH: Remove certain warnings from coverage scripts

Recent versions of lcov generate messages:
geninfo: Argument "=====" isn't numeric

Also, suppress /usr/include/ warnings.
parent e39a2126
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ echo -n "Please wait while lcov captures the coverage data..."
#
# Some compilers (e.g. clang) place the .gcda files in the wrong directory
#
lcov --quiet --directory . --capture --output-file app.info
lcov --quiet --directory . --capture --output-file app.info 2>&1 | grep -v "WARNING: no data found for /usr/include" | grep -v 'Argument "====="'
echo "Done"
echo -n "Please wait while lcov removes coverage for some files..."
lcov --quiet --remove app.info '*ThirdParty*' '*Instantiator.*' 'vtkType*Array.*' '*Tcl.cxx' '*TCLInit.cxx' '*Python.cxx' '*Wrapping*' '*Examples*' '*Testing*' '*Utilities*' '*_s.cxx' '*_vs*.cxx' '*_fs*.cxx' '*GS.cxx' '*VS.cxx' '*FS.cxx' '*FP*.cxx' '*VP*.cxx' 'vtkgl.cxx' '/usr/*' --output-file app.info2
......
......@@ -83,7 +83,7 @@ echo -n "Please wait while lcov captures the coverage data..."
# Some compilers (e.g. clang) place the .gcda files in the wrong directory
#
cd $destinationdir
lcov --quiet --directory . --capture --output-file app.info
lcov --quiet --directory . --capture --output-file app.info 2>&1 | grep -v "WARNING: no data found for /usr/include" | grep -v 'Argument "====="'
echo "Done"
echo -n "Please wait while lcov removes coverage for some files..."
lcov --quiet --remove app.info '*ThirdParty*' '*Instantiator.*' 'vtkType*Array.*' '*Tcl.cxx' '*TCLInit.cxx' '*Python.cxx' '*Wrapping*' '*Examples*' '*Testing*' '*Utilities*' '*_s.cxx' '*_vs*.cxx' '*_fs*.cxx' '*GS.cxx' '*VS.cxx' '*FS.cxx' '*FP*.cxx' '*VP*.cxx' 'vtkgl.cxx' '/usr/*' --output-file app.info2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment