Skip to content

Commit

Permalink
tests: removed add_test from CMakeLists
Browse files Browse the repository at this point in the history
- gtest_discover_tests adds tests at runtime when executing the tests
  • Loading branch information
franku committed Jun 27, 2019
1 parent f68ebe1 commit 56c8810
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions core/src/tests/CMakeLists.txt
Expand Up @@ -196,10 +196,6 @@ target_link_libraries(test_config_parser_sd
${GTEST_MAIN_LIBRARIES}
)

add_test(NAME test_config_parser_sd
COMMAND test_config_parser_sd
)

gtest_discover_tests(test_config_parser_sd TEST_PREFIX gtest:)

####### test_config_parser_dir #####################################
Expand All @@ -215,10 +211,6 @@ target_link_libraries(test_config_parser_dir
${GTEST_MAIN_LIBRARIES}
)

add_test(NAME test_config_parser_dir
COMMAND test_config_parser_dir
)

gtest_discover_tests(test_config_parser_dir TEST_PREFIX gtest:)


Expand All @@ -233,10 +225,6 @@ target_link_libraries(test_config_parser_console
${GTEST_MAIN_LIBRARIES}
)

add_test(NAME test_config_parser_console
COMMAND test_config_parser_console
)

gtest_discover_tests(test_config_parser_console TEST_PREFIX gtest:)


Expand All @@ -251,10 +239,6 @@ target_link_libraries(test_config_parser_fd
${GTEST_MAIN_LIBRARIES}
)

add_test(NAME test_config_parser_fd
COMMAND test_config_parser_fd
)

gtest_discover_tests(test_config_parser_fd TEST_PREFIX gtest:)

####### test_setdebug #####################################
Expand All @@ -273,9 +257,5 @@ target_link_libraries(test_setdebug
${GTEST_MAIN_LIBRARIES}
)

add_test(NAME test_setdebug
COMMAND test_setdebug
)

gtest_discover_tests(test_setdebug TEST_PREFIX gtest:)

0 comments on commit 56c8810

Please sign in to comment.