diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 588397f..0b912c3 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -14,7 +14,7 @@ ############################################################################# enable_testing() -set(CMAKE_CTEST_COMMAND ctest -V) +set(CMAKE_CTEST_COMMAND ctest -VV --debug --timeout 120) if(WIN32 AND GMIO_BUILD_SHARED_LIBS) configure_file(win_ctest_cmd.bat.cmake win_ctest_cmd.bat @ONLY) set(CMAKE_CTEST_COMMAND win_ctest_cmd.bat) @@ -49,7 +49,6 @@ target_link_libraries(test_core gmio) # test_stl file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/models - DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) set(GMIO_TEST_STL_SRC main_test_stl.c @@ -82,7 +81,7 @@ if(CMAKE_C_COMPILER_IS_GCC_COMPATIBLE) endif() # Declare tests -add_test(test_core test_core) -add_test(test_stl test_stl) +add_test(NAME test_core COMMAND test_core) +add_test(NAME test_stl COMMAND test_stl) add_dependencies(check test_core test_stl)