diff options
Diffstat (limited to 'FreeRTOS/Test/CMock/tools/filtercov.py')
-rwxr-xr-x | FreeRTOS/Test/CMock/tools/filtercov.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FreeRTOS/Test/CMock/tools/filtercov.py b/FreeRTOS/Test/CMock/tools/filtercov.py index 35a58c16e..62ffed3a9 100755 --- a/FreeRTOS/Test/CMock/tools/filtercov.py +++ b/FreeRTOS/Test/CMock/tools/filtercov.py @@ -308,7 +308,7 @@ def convert_to_lcov_info(args, covdata, outfile): # Handle branch data for target_branch in target_line["branches"]: branch_count = "-" - if target_line["unexecuted_block"] or target_line["count"] == 0: + if target_line["unexecuted_block"] and target_line["count"] == 0: branch_count = "-" elif "count" in target_branch: branch_count = target_branch["count"] |