mirror of
https://github.com/uutils/coreutils.git
synced 2026-05-06 07:26:38 -04:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user