mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-26 19:36:25 -06:00
If blocks cannot cross include statements
This commit is contained in:
parent
277b013d92
commit
18dec593ec
@ -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
|
||||
|
@ -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()
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user