|
|
@ -30,24 +30,24 @@ add_om_test(microcore)
|
|
|
|
add_om_test(bcstatus)
|
|
|
|
add_om_test(bcstatus)
|
|
|
|
add_om_test(txsearch)
|
|
|
|
add_om_test(txsearch)
|
|
|
|
|
|
|
|
|
|
|
|
#SETUP_TARGET_FOR_COVERAGE(
|
|
|
|
|
|
|
|
#NAME mysql_cov
|
|
|
|
######################################
|
|
|
|
#EXECUTABLE mysql_tests)
|
|
|
|
########## CODE COVERAGE #############
|
|
|
|
|
|
|
|
######################################
|
|
|
|
#SETUP_TARGET_FOR_COVERAGE(
|
|
|
|
|
|
|
|
#NAME microcore_cov
|
|
|
|
include(CodeCoverage)
|
|
|
|
#EXECUTABLE microcore_tests)
|
|
|
|
|
|
|
|
|
|
|
|
#APPEND_COVERAGE_COMPILER_FLAGS()
|
|
|
|
#SETUP_TARGET_FOR_COVERAGE(
|
|
|
|
|
|
|
|
#NAME bcstatus_cov
|
|
|
|
set(COVERAGE_LCOV_EXCLUDES
|
|
|
|
#EXECUTABLE bcstatus_tests)
|
|
|
|
'../ext/*' '*boost/*' '*c++/*'
|
|
|
|
|
|
|
|
'*/monero/*' '*googletest/*' '*googlemock/*'
|
|
|
|
#SETUP_TARGET_FOR_COVERAGE(
|
|
|
|
'*restbed/*' '*/mysql++/*' '*tests/*')
|
|
|
|
#NAME txsearch_cov
|
|
|
|
|
|
|
|
#EXECUTABLE txsearch_tests)
|
|
|
|
SETUP_TARGET_FOR_COVERAGE_LCOV(
|
|
|
|
|
|
|
|
NAME coverage
|
|
|
|
#add_custom_target(cov
|
|
|
|
EXECUTABLE mysql_tests
|
|
|
|
#COMMAND ;
|
|
|
|
microcore_tests
|
|
|
|
#DEPENDS mysql_cov microcore_cov bcstatus_cov txsearch_cov
|
|
|
|
bcstatus
|
|
|
|
#COMMENT "Runs all coverage tests"
|
|
|
|
txsearch)
|
|
|
|
#)
|
|
|
|
|
|
|
|