Skip to content

Commit

Permalink
iox-eclipse-iceoryx#381 clean up coverage scan
Browse files Browse the repository at this point in the history
Signed-off-by: Dietrich Krönke <dietrich.kroenke@apex.ai>
  • Loading branch information
dkroenke committed Dec 14, 2020
1 parent 1fdc055 commit 8324ea9
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tools/iceoryx_build_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,10 @@ cmake --build . --target install -- -j$NUM_JOBS
echo ">>>>>> Finished building iceoryx package <<<<<<"

# Dont build examples when coverage or sanitization is enabled
if [ "$COV_FLAG" == "ON" ] || [ "$SANITIZE_FLAG" == "ON" ]
then
echo ">>>>>> Skip building iceoryx examples <<<<<<"
if [ "$SANITIZE_FLAG" == "ON" ]; then
echo ">>>>>> skip Out-of-tree build <<<<<<"
elif [ "$COV_FLAG" == "ON" ]; then
echo ">>>>>> initial gcov scan <<<<<<"
$WORKSPACE/tools/gcov/lcov_generate.sh $WORKSPACE initial #make an initial scan to cover also files with no coverage
else
echo ">>>>>> Start building Out-of-tree build<<<<<<"
Expand Down

0 comments on commit 8324ea9

Please sign in to comment.