This is an automated email from the ASF dual-hosted git repository. dataroaring pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push: new a91f9fbccb [fix][UT]fix coverage compute fail if run string cmd directly (#23878) a91f9fbccb is described below commit a91f9fbccb8080d8c5c18caa15ee1b0444a4ae3c Author: chunping <cece_m...@163.com> AuthorDate: Tue Sep 5 10:57:54 2023 +0800 [fix][UT]fix coverage compute fail if run string cmd directly (#23878) --- run-be-ut.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/run-be-ut.sh b/run-be-ut.sh index 0b8c16109a..8bc2d787ca 100755 --- a/run-be-ut.sh +++ b/run-be-ut.sh @@ -390,11 +390,15 @@ if [[ -f "${test}" ]]; then if [[ -d "${DORIS_TEST_BINARY_DIR}"/report ]]; then rm -rf "${DORIS_TEST_BINARY_DIR}"/report fi - "${LLVM_PROFDATA} merge -o ${profdata} ${profraw}" - "${LLVM_COV} show -output-dir=${DORIS_TEST_BINARY_DIR}/report -format=html \ + cmd1="${LLVM_PROFDATA} merge -o ${profdata} ${profraw}" + echo "${cmd1}" + eval "${cmd1}" + cmd2="${LLVM_COV} show -output-dir=${DORIS_TEST_BINARY_DIR}/report -format=html \ -ignore-filename-regex='(.*gensrc/.*)|(.*_test\.cpp$)|(.*be/test.*)|(.*apache-orc/.*)|(.*clucene/.*)' \ -instr-profile=${profdata} \ -object=${test}" + echo "${cmd2}" + eval "${cmd2}" else "${test}" --gtest_output="xml:${GTEST_OUTPUT_DIR}/${file_name}.xml" --gtest_print_time=true "${FILTER}" fi --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org