Added manual gcov target
This commit is contained in:
parent
e704c07341
commit
d4d29f6023
3 changed files with 8 additions and 2 deletions
|
@ -30,7 +30,7 @@ script:
|
|||
- make criterion_tests
|
||||
- make test
|
||||
after_success:
|
||||
- make coveralls
|
||||
- make gcov VERBOSE=1
|
||||
- bash <(curl -s https://codecov.io/bash) -g 'dependencies/*'
|
||||
after_failure:
|
||||
- cat Testing/Temporary/LastTest.log samples/*.{out,err} ../samples/tests/*.{out,err}
|
||||
|
|
|
@ -170,6 +170,12 @@ install(TARGETS criterion
|
|||
|
||||
add_custom_target(criterion_tests)
|
||||
|
||||
file(GLOB_RECURSE GCNO_FILES "${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles/*.gcno")
|
||||
|
||||
add_custom_target(gcov
|
||||
"gcov" "-lcp" ${GCNO_FILES}
|
||||
)
|
||||
|
||||
enable_testing()
|
||||
add_subdirectory(samples)
|
||||
add_subdirectory(test)
|
||||
|
|
|
@ -58,7 +58,7 @@ test_script:
|
|||
- ps: try { ctest } catch { type Testing/Temporary/LastTest.log }
|
||||
|
||||
after_test:
|
||||
- 'make coveralls_generate'
|
||||
- 'make gcov'
|
||||
- codecov
|
||||
#after_test:
|
||||
# - 'make coveralls'
|
||||
|
|
Loading…
Add table
Reference in a new issue