Skip to content

Commit

Permalink
added custom target for code coverage check
Browse files Browse the repository at this point in the history
  • Loading branch information
niwciu committed Nov 12, 2024
1 parent 1c1e70f commit 7dc27c1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/modbus/custom_targets.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,5 @@ else()
endif()
endif()

add_custom_target(ccr python3 -m gcovr CMakeFiles/modbus_test.dir/D_/EMBEDDED/LIBRARIES/C_libraries/MODBUS/src -r ../../.. --html-details ../../../reports/Code_Coverage/modbus_gcov_report.html)
add_custom_target(ccr python3 -m gcovr CMakeFiles/modbus_test.dir/D_/EMBEDDED/LIBRARIES/C_libraries/MODBUS/src -r ../../.. --html-details ../../../reports/Code_Coverage/modbus_gcov_report.html)
add_custom_target(ccc python3 -m gcovr CMakeFiles/modbus_test.dir/D_/EMBEDDED/LIBRARIES/C_libraries/MODBUS/src -r ../../.. --fail-under-line 90)

0 comments on commit 7dc27c1

Please sign in to comment.