-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
cd build | ||
lcov --capture --initial --directory . --ignore-erros source --output-file Test_CPP_Bindings_base.info --no-external | ||
|
||
lcov --capture --initial --directory . --output-file Test_CPP_Bindings_base.info --ignore-errors gcov,inconsistent | ||
./Test_CPP_Bindings | ||
|
||
lcov --directory . --capture --ignore-errors source --output-file Test_CPP_Bindings_run.info --no-external | ||
lcov --add-tracefile Test_CPP_Bindings_base.info --add-tracefile Test_CPP_Bindings_run.info --output-file Test_CPP_Bindings.info | ||
lcov --directory . --capture --output-file Test_CPP_Bindings_run.info --ignore-errors gcov,inconsistent | ||
lcov --add-tracefile Test_CPP_Bindings_base.info --add-tracefile Test_CPP_Bindings_run.info --output-file Test_CPP_Bindings.info --ignore-errors gcov,inconsistent | ||
|
||
TARGETDIR=`dirname \`pwd\`` | ||
|
||
lcov --remove Test_CPP_Bindings.info -o Test_CPP_Bindings_filtered.info "$TARGETDIR/Tests/*" "$TARGETDIR/Libraries/*" "$TARGETDIR/submodules/*" "/Applications/*" \ | ||
lcov --remove Test_CPP_Bindings.info --ignore-errors gcov,inconsistent -o Test_CPP_Bindings_filtered.info "$TARGETDIR/Tests/*" "$TARGETDIR/Libraries/*" "/Applications/*" \ | ||
"$TARGETDIR/Autogenerated/Bindings/C/*" \ | ||
"$TARGETDIR/Autogenerated/Bindings/CDynamic/*" \ | ||
"$TARGETDIR/Autogenerated/Bindings/CSharp/*" \ | ||
"$TARGETDIR/Autogenerated/Bindings/CppDynamic/*" \ | ||
"$TARGETDIR/Autogenerated/Bindings/Go/*" \ | ||
"$TARGETDIR/Autogenerated/Bindings/NodeJS/*" \ | ||
"$TARGETDIR/Autogenerated/Bindings/Python/*" | ||
"$TARGETDIR/Autogenerated/Bindings/Python/*" \ | ||
"$TARGETDIR/build/libzip/*" \ | ||
"$TARGETDIR/build/Tests/libressl/*" \ | ||
|
||
|
||
genhtml --output-directory ./codecoverage --title "lib3mf Test Coverage" --function-coverage --legend Test_CPP_Bindings_filtered.info | ||
genhtml --output-directory ./codecoverage --title "lib3mf Test Coverage" --function-coverage --legend Test_CPP_Bindings_filtered.info --ignore-errors inconsistent | ||
|
||
zip -r codecoverage.zip ./codecoverage/ |