diff --git a/scripts/cmake/test/AddTest.cmake b/scripts/cmake/test/AddTest.cmake index 9d35517e9e2df5e9713f257d2269ced6895ceb53..104027437f30ee9f5775b5666348060d43dca90e 100644 --- a/scripts/cmake/test/AddTest.cmake +++ b/scripts/cmake/test/AddTest.cmake @@ -292,7 +292,7 @@ function(AddTest) # OpenMP tests for specific processes only. TODO (CL) Once all processes can # be assembled OpenMP parallel, the condition should be removed. - if("${labels}" MATCHES "TH2M|ThermoRichards") + if("${labels}" MATCHES "TH2M|ThermoRichards|^HydroMechanics") _add_test(${TEST_NAME}-omp) _set_omp_test_properties() endif() @@ -323,7 +323,7 @@ function(AddTest) # Run the tester _add_test_tester(${TEST_NAME}) - if("${labels}" MATCHES "TH2M|ThermoRichards") + if("${labels}" MATCHES "TH2M|ThermoRichards|^HydroMechanics") _add_test_tester(${TEST_NAME}-omp) endif() diff --git a/scripts/cmake/test/OgsTest.cmake b/scripts/cmake/test/OgsTest.cmake index 900bce228745c182758e997f049ba73bd179a3e4..6a408e0ba8850b173b121611b098c6d715964503 100644 --- a/scripts/cmake/test/OgsTest.cmake +++ b/scripts/cmake/test/OgsTest.cmake @@ -84,7 +84,7 @@ function(OgsTest) # OpenMP tests for specific processes only. TODO (CL) Once all processes can # be assembled OpenMP parallel, the condition should be removed. - if("${labels}" MATCHES "TH2M|ThermoRichards") + if("${labels}" MATCHES "TH2M|ThermoRichards|^HydroMechanics") _ogs_add_test(${TEST_NAME}-omp) _set_omp_test_properties() endif()