Skip to content

Commit

Permalink
Update test.cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
octoflar authored Jun 8, 2024
1 parent b1948c4 commit 9753b73
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/cmake/test.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ function(add_unit_test NAME)
${ARGN}
${TEST}/cxx/unittest.h)
target_compile_options(${NAME} PRIVATE --coverage)
target_link_options(${NAME} PRIVATE --coverage)
add_test(NAME ${NAME} COMMAND ${NAME})
set_tests_properties(${NAME} PROPERTIES LABELS unit TIMEOUT 10)
endfunction()
Expand Down

0 comments on commit 9753b73

Please sign in to comment.