tests: verbose ctest
This commit is contained in:
parent
d0b213a652
commit
6bf6f8789b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user