You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm doing code coverage for bash script with main script in X and helper scripts in Y. So my kcov options are --bash-dont-parse-binary-dir --bash-parse-files-in-dir=Y <output_dir> X/main.sh
If output_dir is a relative path (e.g., coverage, ../coverage) kcov will not find any coverage for helper scripts. If output_dir is absolute path (e.g., /tmp/coverage, `realpath coverage`), helper scripts have coverage information.
Have not tested to see if compiled code, etc. have the same problem.
The text was updated successfully, but these errors were encountered:
I'm doing code coverage for bash script with main script in X and helper scripts in Y. So my kcov options are
--bash-dont-parse-binary-dir --bash-parse-files-in-dir=Y <output_dir> X/main.sh
If
output_dir
is a relative path (e.g., coverage, ../coverage) kcov will not find any coverage for helper scripts. Ifoutput_dir
is absolute path (e.g., /tmp/coverage, `realpath coverage`), helper scripts have coverage information.Have not tested to see if compiled code, etc. have the same problem.
The text was updated successfully, but these errors were encountered: