From 9307cdc7ac60f3ab6c75cd03887f422d959ed6a6 Mon Sep 17 00:00:00 2001 From: Matej Ferencevic Date: Mon, 29 Apr 2019 09:39:42 +0200 Subject: [PATCH] Fix coverage_binary tool to work with new toolchain Reviewers: teon.banek Reviewed By: teon.banek Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1994 --- tools/coverage_binary | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/coverage_binary b/tools/coverage_binary index b73276f8f..2eb2ae0cb 100755 --- a/tools/coverage_binary +++ b/tools/coverage_binary @@ -75,10 +75,10 @@ fi src_files=$( find "$PROJECT_DIR/src" \( -name '*.cpp' -o -name '*.hpp' \) -print | sort | tr '\n' ' ' ) # Process the coverage -llvm-profdata-5.0 merge -sparse "$coverage_raw_file" -o "$coverage_data_file" +llvm-profdata merge -sparse "$coverage_raw_file" -o "$coverage_data_file" # Generate the html output -llvm-cov-5.0 show "$target_path" \ +llvm-cov show "$target_path" \ -format html \ -instr-profile "$coverage_data_file" \ -o "$output_dir" \