Update drone.yml to launch gcovr and valgrind
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -39,6 +39,14 @@ add_custom_target (static_analysis
|
||||
COMMAND ${CMAKE_SOURCE_DIR}/tools/static_analysis.sh ${CMAKE_SOURCE_DIR}/build
|
||||
)
|
||||
|
||||
add_custom_target (valgrind
|
||||
COMMAND valgrind --leak-check=full --trace-children=yes --malloc-fill=AE --free-fill=BD --track-origins=yes ${CMAKE_SOURCE_DIR}/build/bin/domo-iot
|
||||
add_custom_target (launch_test
|
||||
COMMAND valgrind --leak-check=full --trace-children=yes --malloc-fill=AE --free-fill=BD --track-origins=yes ${CMAKE_SOURCE_DIR}/build/bin/test_device
|
||||
)
|
||||
|
||||
add_custom_target (gcovr
|
||||
COMMAND gcovr -v --object-directory=${CMAKE_BINARY_DIR} -r ${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
|
||||
add_custom_target (gcovr_html
|
||||
COMMAND gcovr -v --object-directory=${CMAKE_BINARY_DIR} -r ${CMAKE_SOURCE_DIR} -o ${CMAKE_BINARY_DIR}/domo-iot.html --html --html-details
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user