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

Disabled long running tests, introduced new make target ctest-large.

parent 201f1ef7
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ add_test(NAME ogs_no_args COMMAND ogs) ...@@ -3,7 +3,7 @@ add_test(NAME ogs_no_args COMMAND ogs)
set_tests_properties(ogs_no_args PROPERTIES WILL_FAIL TRUE) set_tests_properties(ogs_no_args PROPERTIES WILL_FAIL TRUE)
# CUBE 1x1x1 GROUNDWATER FLOW TESTS # CUBE 1x1x1 GROUNDWATER FLOW TESTS
foreach(mesh_size 1e0 1e1 1e2 1e3 1e4) foreach(mesh_size 1e0 1e1 1e2 1e3)
AddTest( AddTest(
NAME GroundWaterFlowProcess_cube_1x1x1_${mesh_size} NAME GroundWaterFlowProcess_cube_1x1x1_${mesh_size}
PATH Elliptic/cube_1x1x1_GroundWaterFlow PATH Elliptic/cube_1x1x1_GroundWaterFlow
...@@ -30,7 +30,7 @@ foreach(mesh_size 2e4 3e4 4e4 5e4 1e5 1e6) ...@@ -30,7 +30,7 @@ foreach(mesh_size 2e4 3e4 4e4 5e4 1e5 1e6)
endforeach(mesh_size) endforeach(mesh_size)
# SQUARE 1x1 GROUNDWATER FLOW TESTS # SQUARE 1x1 GROUNDWATER FLOW TESTS
foreach(mesh_size 1e0 1e1 1e2 1e3 1e4) foreach(mesh_size 1e0 1e1 1e2 1e3)
AddTest( AddTest(
NAME GroundWaterFlowProcess_square_1x1_${mesh_size} NAME GroundWaterFlowProcess_square_1x1_${mesh_size}
PATH Elliptic/square_1x1_GroundWaterFlow PATH Elliptic/square_1x1_GroundWaterFlow
......
...@@ -43,18 +43,19 @@ INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/scripts/cmake/test/AddTest.cmake) ...@@ -43,18 +43,19 @@ INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/scripts/cmake/test/AddTest.cmake)
INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/scripts/cmake/test/Data.cmake) INCLUDE(${CMAKE_CURRENT_SOURCE_DIR}/scripts/cmake/test/Data.cmake)
IF(CMAKE_CONFIGURATION_TYPES) IF(CMAKE_CONFIGURATION_TYPES)
ADD_CUSTOM_TARGET( SET(CONFIG_PARAMETER --build-config "$<CONFIGURATION>")
ctest
COMMAND ${CMAKE_CTEST_COMMAND}
--force-new-ctest-process --output-on-failure
--build-config "$<CONFIGURATION>"
DEPENDS data
)
ELSE()
ADD_CUSTOM_TARGET(
ctest
COMMAND ${CMAKE_CTEST_COMMAND}
--force-new-ctest-process --output-on-failure
DEPENDS data
)
ENDIF() ENDIF()
ADD_CUSTOM_TARGET(
ctest
COMMAND ${CMAKE_CTEST_COMMAND}
--force-new-ctest-process --output-on-failure --exclude-regex LARGE
${CONFIG_PARAMETER} --parallel ${NUM_PROCESSORS}
DEPENDS data
)
ADD_CUSTOM_TARGET(
ctest-large
COMMAND ${CMAKE_CTEST_COMMAND}
--force-new-ctest-process --output-on-failure --tests-regex LARGE
${CONFIG_PARAMETER} --parallel ${NUM_PROCESSORS}
DEPENDS data
)
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