Skip to content
Snippets Groups Projects
Verified Commit ba4b3fec authored by Lars Bilke's avatar Lars Bilke
Browse files

[ctest] Disabled timeout.

Does not work on CI under load.
parent 4f0ad351
No related branches found
No related tags found
No related merge requests found
...@@ -419,13 +419,16 @@ Use six arguments version of AddTest with absolute and relative tolerances" ...@@ -419,13 +419,16 @@ Use six arguments version of AddTest with absolute and relative tolerances"
list(APPEND labels large) list(APPEND labels large)
endif() endif()
set_tests_properties( ${TEST_NAME} set_tests_properties(${TEST_NAME}
PROPERTIES PROPERTIES
COST ${AddTest_RUNTIME} COST ${AddTest_RUNTIME}
DISABLED ${AddTest_DISABLED} DISABLED ${AddTest_DISABLED}
LABELS "${labels}" LABELS "${labels}"
TIMEOUT ${timeout}
) )
# Disabled for the moment, does not work with CI under load
# if(NOT OGS_COVERAGE)
# set_tests_properties(${TEST_NAME} PROPERTIES TIMEOUT ${timeout})
# endif()
add_dependencies(ctest ${AddTest_EXECUTABLE}) add_dependencies(ctest ${AddTest_EXECUTABLE})
add_dependencies(ctest-large ${AddTest_EXECUTABLE}) add_dependencies(ctest-large ${AddTest_EXECUTABLE})
......
...@@ -202,8 +202,11 @@ function(MeshTest) ...@@ -202,8 +202,11 @@ function(MeshTest)
PROPERTIES PROPERTIES
COST ${MeshTest_RUNTIME} COST ${MeshTest_RUNTIME}
LABELS "meshtest;${labels}" LABELS "meshtest;${labels}"
TIMEOUT ${timeout}
) )
# Disabled for the moment, does not work with CI under load
# if(NOT OGS_COVERAGE)
# set_tests_properties(${TEST_NAME} PROPERTIES TIMEOUT ${timeout})
# endif()
if(TARGET ${MeshTest_EXECUTABLE}) if(TARGET ${MeshTest_EXECUTABLE})
add_dependencies(ctest ${MeshTest_EXECUTABLE}) add_dependencies(ctest ${MeshTest_EXECUTABLE})
......
...@@ -69,12 +69,15 @@ function(OgsTest) ...@@ -69,12 +69,15 @@ function(OgsTest)
list(APPEND labels large) list(APPEND labels large)
endif() endif()
set_tests_properties( ${TEST_NAME} set_tests_properties(${TEST_NAME}
PROPERTIES PROPERTIES
ENVIRONMENT VTKDIFF_EXE=$<TARGET_FILE:vtkdiff> ENVIRONMENT VTKDIFF_EXE=$<TARGET_FILE:vtkdiff>
COST ${OgsTest_RUNTIME} COST ${OgsTest_RUNTIME}
DISABLED ${OgsTest_DISABLED} DISABLED ${OgsTest_DISABLED}
LABELS "${labels}" LABELS "${labels}"
TIMEOUT ${timeout}
) )
# Disabled for the moment, does not work with CI under load
# if(NOT OGS_COVERAGE)
# set_tests_properties(${TEST_NAME} PROPERTIES TIMEOUT ${timeout})
# endif()
endfunction() endfunction()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment