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

fix

parent 4cf29418
No related branches found
No related tags found
No related merge requests found
......@@ -103,10 +103,9 @@ function(gtest target test_source_files linktarget)
endif ()
add_test(NAME test-${target} COMMAND test-${target})
set_tests_properties(test-${target} PROPERTIES LABELS "unit;all")
message(STATUS "Added test 'test-${target}'")
if (ARGN)
LIST(GET ${ARGN} 0 NOCOV)
LIST(GET ARGN 0 NOCOV)
endif()
if (CMAKE_COMPILER_IS_GNUCXX AND NOT 1${NOCOV} STREQUAL "1nocov")
set(COVERAGE_EXCLUDES "*/unittests/*" "*/3d_party/*" "*/python/*")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment