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.
openmonero/tests/CMakeLists.txt

25 lines
593 B

6 years ago
macro(add_om_test _TEST_NAME)
add_executable(${_TEST_NAME}_tests
${_TEST_NAME}_tests.cpp
#${MONERO_DIR}/tests/core_tests/chaingen.cpp
#${MONERO_DIR}/tests/core_tests/chaingen001.cpp
)
6 years ago
target_link_libraries(${_TEST_NAME}_tests
gtest gtest_main
${LIBRARIES})
add_test(NAME ${_TEST_NAME}_tests COMMAND ${_TEST_NAME}_tests)
endmacro()
resource_dir("./res")
add_om_test(mysql)
SETUP_TARGET_FOR_COVERAGE(
NAME test_mysql_coverage # New target name
EXECUTABLE mysql_tests)