Skip to content
Snippets Groups Projects
Commit d0cab268 authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix makefiles

parent 7dc9d01c
No related branches found
No related tags found
No related merge requests found
......@@ -114,7 +114,7 @@ function(gtest target test_source_files linktarget)
endif ()
SETUP_TARGET_FOR_COVERAGE(NAME coverage-${target} EXECUTABLE test-${target} ${target})
add_test(NAME coveragetest-${target}
COMMAND ${CMAKE_MODULE_PATH}/check_test.sh
COMMAND ${PROJECT_SOURCE_DIR}/CMakeModules/check_test.sh
coverage-${target} ${CMAKE_BINARY_DIR} ${ASAPO_MINIMUM_COVERAGE})
set_tests_properties(coveragetest-${target} PROPERTIES LABELS "coverage;all")
message(STATUS "Added test 'test-${target}-coverage'")
......
......@@ -16,7 +16,7 @@ function(gotest target source_dir test_source_files)
message(STATUS "Added test 'test-${target}'")
if (CMAKE_COMPILER_IS_GNUCXX)
add_test(NAME coveragetest-${target}
COMMAND ${CMAKE_MODULE_PATH}/coverage_go.sh
COMMAND ${PROJECT_SOURCE_DIR}/CMakeModules/coverage_go.sh
${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${ASAPO_MINIMUM_COVERAGE} ${gopath}
WORKING_DIRECTORY ${source_dir})
set_tests_properties(coveragetest-${target} PROPERTIES LABELS "coverage;all")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment