This is an automated email from the ASF dual-hosted git repository. kxiao pushed a commit to branch branch-2.0 in repository https://gitbox.apache.org/repos/asf/doris.git
commit d2fb1b6ee1354ced5e9b0461957284c9270df939 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 dd9b7cfded..a1374b5458 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