unit test coverage: fix missing coverage

binary-path option of grcov needs to be set to full target/debug folder
to include unit test binaries.
This commit is contained in:
Martin Kunkel
2025-12-08 20:32:06 +00:00
parent 92d7792c72
commit c31de82629
+1 -1
View File
@@ -104,7 +104,7 @@ run_test_and_aggregate "uucore" "-p uucore --all-features"
echo "# Aggregating all the profraw files under ${REPORT_PATH}"
grcov \
"${PROFDATA_DIR}" \
--binary-path "${REPO_main_dir}/target/debug/coreutils" \
--binary-path "${REPO_main_dir}/target/debug/" \
--output-types lcov \
--output-path ${REPORT_PATH} \
--llvm \