If blocks cannot cross include statements

This commit is contained in:
Alf Birger Rustad 2022-10-19 13:55:57 +02:00
parent 277b013d92
commit 18dec593ec
3 changed files with 6 additions and 1 deletions

View File

@ -287,6 +287,7 @@ add_test(NAME NORNE_RESTART
include (${CMAKE_CURRENT_SOURCE_DIR}/parallelRestartTests.cmake)
if(MPI_FOUND)
# Single test to verify that we treat custom communicators correctly.
opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-split-comm-test.sh "")
add_test_split_comm(CASENAME spe1
@ -294,10 +295,11 @@ include (${CMAKE_CURRENT_SOURCE_DIR}/parallelRestartTests.cmake)
SIMULATOR flow
ABS_TOL 0.0
REL_TOL 0.0)
endif()
include (${CMAKE_CURRENT_SOURCE_DIR}/parallelTests.cmake)
endif()
if(OPM_TESTS_ROOT)
add_custom_target(update_data

View File

@ -44,3 +44,4 @@ if(MPI_FOUND)
RESTART_STEP 3
DIR aquifer-num
TEST_ARGS --enable-tuning=true --tolerance-cnv=0.00003 --time-step-control=pid --linear-solver=cpr)
endif()

View File

@ -1,3 +1,4 @@
if(MPI_FOUND)
opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-parallel-regressionTest.sh "")
# Different tolerances for these tests
@ -163,3 +164,4 @@
REL_TOL 1.0e-3
DIR rxft_smry
TEST_ARGS --linear-solver-reduction=1e-7 --tolerance-cnv=5e-6 --tolerance-mb=1e-8 --ecl-enable-drift-compensation=false)
endif()