From 346a2cad7b3d4d8e8f3b3087527b1a8f367d3d30 Mon Sep 17 00:00:00 2001 From: Rick Poyner Date: Tue, 10 Nov 2020 13:59:21 -0500 Subject: [PATCH] coverage: Fix typos in kcov_tool integration Relevant to: #10617 Fix cmake syntax errors in a prior commit. --- driver/configurations/bazel/step-build.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver/configurations/bazel/step-build.cmake b/driver/configurations/bazel/step-build.cmake index d452c3b6..91479fda 100644 --- a/driver/configurations/bazel/step-build.cmake +++ b/driver/configurations/bazel/step-build.cmake @@ -164,8 +164,8 @@ endif() if(COVERAGE) set(KCOV_TOOL "${DASHBOARD_SOURCE_DIRECTORY}/tools/dynamic_analysis/kcov_tool") - if(EXISTS KCOV_TOOL) - execute_process(COMMAND KCOV_TOOL ci_merge) + if(EXISTS "${KCOV_TOOL}") + execute_process(COMMAND "${KCOV_TOOL}" ci_merge) endif() set(KCOV_MERGED "${DASHBOARD_SOURCE_DIRECTORY}/bazel-kcov/kcov-merged") execute_process(COMMAND "${CMAKE_COMMAND}" -E copy "${KCOV_MERGED}/cobertura.xml" "${KCOV_MERGED}/coverage.xml")