You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
348 B

execute_process(COMMAND ${MYEXECUTABLE} RESULT_VARIABLE RESULT)
if(NOT RESULT_VARIABLE STREQUAL "0")
message("Test failure")
endif()
file(GLOB_RECURSE gcno_files "${TARGETDIR}/*.gcno")
foreach(gcno_file ${gcno_files})
string(REPLACE ".gcno" ".gcda" gcda_file "${gcno_file}")
configure_file(${gcno_file} ${gcda_file} COPYONLY)
endforeach()