diff --git a/tools/coverage_binary b/tools/coverage_binary index 2eb2ae0cb..cbad54750 100755 --- a/tools/coverage_binary +++ b/tools/coverage_binary @@ -1,4 +1,4 @@ -#!/bin/bash +#!/bin/bash -e ## README # In order to use this script to make a coverage profile of any memgraph binary @@ -66,10 +66,6 @@ if [ -L "$target_path" ]; then target_path="$( readlink "$target_path" )" fi LLVM_PROFILE_FILE="$coverage_raw_file" $target_path $@ -code=$? -if [ $code -ne 0 ]; then - printf "\033[1;31mThe binary exited with a non-zero exit code ($code)!\033[0m\n" -fi # Find all source files src_files=$( find "$PROJECT_DIR/src" \( -name '*.cpp' -o -name '*.hpp' \) -print | sort | tr '\n' ' ' )