Skip to content

Commit

Permalink
Log test results after running the coverage target (#70)
Browse files Browse the repository at this point in the history
CMake is updated to log test results after running the coverage target
  • Loading branch information
yourslab authored Sep 17, 2020
1 parent 5b34e9f commit c4990cb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,8 @@ add_subdirectory( unit-test )

# Add a target for running coverage on tests.
add_custom_target( coverage
COMMAND ${CMAKE_COMMAND} -P ${MODULE_ROOT_DIR}/tools/cmock/coverage.cmake
COMMAND ${CMAKE_COMMAND} -DCMOCK_DIR=${CMOCK_DIR}
-P ${MODULE_ROOT_DIR}/tools/cmock/coverage.cmake
DEPENDS cmock unity core_mqtt_utest core_mqtt_serializer_utest core_mqtt_state_utest
WORKING_DIRECTORY ${CMAKE_BINARY_DIR}
)

0 comments on commit c4990cb

Please sign in to comment.