mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 02:30:18 -06:00
remove unwanted/duplicate tests
This commit is contained in:
parent
6591ca89f6
commit
c6e140f615
@ -114,7 +114,7 @@ set(abs_tol 2e-2)
|
||||
set(rel_tol 1e-5)
|
||||
set(coarse_rel_tol 1e-2)
|
||||
|
||||
foreach(SIM flow flow_ebos flow_legacy)
|
||||
foreach(SIM flow flow_legacy)
|
||||
add_test_compareECLFiles(CASENAME spe1
|
||||
FILENAME SPE1CASE2
|
||||
SIMULATOR ${SIM}
|
||||
@ -142,7 +142,7 @@ add_test_compareECLFiles(CASENAME spe1
|
||||
ABS_TOL ${abs_tol}
|
||||
REL_TOL ${rel_tol})
|
||||
|
||||
foreach(SIM flow flow_ebos flow_legacy)
|
||||
foreach(SIM flow flow_legacy)
|
||||
add_test_compareECLFiles(CASENAME spe3
|
||||
FILENAME SPE3CASE1
|
||||
SIMULATOR ${SIM}
|
||||
@ -151,7 +151,7 @@ foreach(SIM flow flow_ebos flow_legacy)
|
||||
TEST_ARGS tolerance_wells=1e-6 max_iter=20)
|
||||
endforeach()
|
||||
|
||||
foreach(SIM flow flow_ebos flow_legacy)
|
||||
foreach(SIM flow flow_legacy)
|
||||
add_test_compareECLFiles(CASENAME spe9
|
||||
FILENAME SPE9_CP_SHORT
|
||||
SIMULATOR ${SIM}
|
||||
@ -159,26 +159,27 @@ foreach(SIM flow flow_ebos flow_legacy)
|
||||
REL_TOL ${rel_tol})
|
||||
endforeach()
|
||||
|
||||
foreach(SIM flow flow_ebos)
|
||||
add_test_compareECLFiles(CASENAME spe9group
|
||||
FILENAME SPE9_CP_GROUP
|
||||
SIMULATOR ${SIM}
|
||||
SIMULATOR flow
|
||||
ABS_TOL ${abs_tol}
|
||||
REL_TOL ${rel_tol})
|
||||
endforeach()
|
||||
|
||||
# TODO: move to flow
|
||||
add_test_compareECLFiles(CASENAME msw_2d_h
|
||||
FILENAME 2D_H__
|
||||
SIMULATOR flow_multisegment
|
||||
ABS_TOL ${abs_tol}
|
||||
REL_TOL ${rel_tol})
|
||||
|
||||
# TODO: add flow
|
||||
add_test_compareECLFiles(CASENAME polymer_simple2D
|
||||
FILENAME 2D_THREEPHASE_POLY_HETER
|
||||
SIMULATOR flow_polymer
|
||||
ABS_TOL ${abs_tol}
|
||||
REL_TOL ${rel_tol})
|
||||
|
||||
# TODO: move to flow
|
||||
add_test_compareECLFiles(CASENAME spe5
|
||||
FILENAME SPE5CASE1
|
||||
SIMULATOR flow_solvent
|
||||
@ -192,7 +193,7 @@ opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-restart-regressionTest.sh ""
|
||||
# Cruder tolerances for the restarted tests
|
||||
set(abs_tol_restart 2e-1)
|
||||
set(rel_tol_restart 4e-5)
|
||||
foreach(sim flow flow_legacy flow_ebos)
|
||||
foreach(sim flow flow_legacy)
|
||||
add_test_compare_restarted_simulation(CASENAME spe1
|
||||
FILENAME SPE1CASE2_ACTNUM
|
||||
SIMULATOR ${sim}
|
||||
@ -208,7 +209,7 @@ endforeach()
|
||||
# Init tests
|
||||
opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-init-regressionTest.sh "")
|
||||
|
||||
foreach(sim flow flow_legacy flow_ebos)
|
||||
foreach(sim flow flow_legacy)
|
||||
add_test_compareECLFiles(CASENAME norne
|
||||
FILENAME NORNE_ATW2013
|
||||
SIMULATOR ${sim}
|
||||
@ -226,18 +227,17 @@ if(MPI_FOUND)
|
||||
set(abs_tol_parallel 0.02)
|
||||
set(rel_tol_parallel 1e-5)
|
||||
|
||||
foreach(sim flow flow_mpi flow_ebos)
|
||||
add_test_compare_parallel_simulation(CASENAME spe1
|
||||
FILENAME SPE1CASE2
|
||||
SIMULATOR ${sim}
|
||||
SIMULATOR flow
|
||||
ABS_TOL ${abs_tol_parallel}
|
||||
REL_TOL ${rel_tol_parallel})
|
||||
add_test_compare_parallel_simulation(CASENAME spe9
|
||||
FILENAME SPE9_CP_SHORT
|
||||
SIMULATOR ${sim}
|
||||
SIMULATOR flow
|
||||
ABS_TOL ${abs_tol_parallel}
|
||||
REL_TOL ${rel_tol_parallel})
|
||||
endforeach()
|
||||
# TODO: add flow
|
||||
add_test_compare_parallel_simulation(CASENAME spe3
|
||||
FILENAME SPE3CASE1
|
||||
SIMULATOR flow_mpi
|
||||
|
@ -42,12 +42,6 @@ for test_name in ${tests}; do
|
||||
|
||||
if grep -q "spe12" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_ebos+spe1/ \
|
||||
$OPM_DATA_ROOT/spe1/opm-simulation-reference/flow_ebos \
|
||||
SPE1CASE2 \
|
||||
EGRID INIT SMSPEC UNRST UNSMRY
|
||||
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_legacy+spe1/ \
|
||||
$OPM_DATA_ROOT/spe1/opm-simulation-reference/flow_legacy \
|
||||
@ -96,12 +90,6 @@ for test_name in ${tests}; do
|
||||
|
||||
if grep -q "spe3" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_ebos+spe3/ \
|
||||
$OPM_DATA_ROOT/spe3/opm-simulation-reference/flow_ebos \
|
||||
SPE3CASE1 \
|
||||
EGRID INIT PRT SMSPEC UNRST UNSMRY
|
||||
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_legacy+spe3/ \
|
||||
$OPM_DATA_ROOT/spe3/opm-simulation-reference/flow_legacy \
|
||||
@ -126,12 +114,6 @@ for test_name in ${tests}; do
|
||||
|
||||
if grep -q "spe9group" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_ebos+spe9group/ \
|
||||
$OPM_DATA_ROOT/spe9group/opm-simulation-reference/flow_ebos \
|
||||
SPE9_CP_GROUP \
|
||||
EGRID INIT PRT SMSPEC UNRST UNSMRY
|
||||
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow+spe9group/ \
|
||||
$OPM_DATA_ROOT/spe9group/opm-simulation-reference/flow \
|
||||
@ -145,12 +127,6 @@ for test_name in ${tests}; do
|
||||
SPE9_CP_SHORT \
|
||||
EGRID INIT PRT SMSPEC UNRST UNSMRY
|
||||
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_ebos+spe9/ \
|
||||
$OPM_DATA_ROOT/spe9/opm-simulation-reference/flow_ebos \
|
||||
SPE9_CP_SHORT \
|
||||
EGRID INIT PRT SMSPEC UNRST UNSMRY
|
||||
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_legacy+spe9/ \
|
||||
$OPM_DATA_ROOT/spe9/opm-simulation-reference/flow_legacy \
|
||||
@ -161,8 +137,8 @@ for test_name in ${tests}; do
|
||||
if grep -q "norne_init" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/init/flow_ebos+norne/ \
|
||||
$OPM_DATA_ROOT/norne/opm-simulation-reference/flow_ebos \
|
||||
$configuration/build-opm-simulators/tests/results/init/flow+norne/ \
|
||||
$OPM_DATA_ROOT/norne/opm-simulation-reference/flow \
|
||||
NORNE_ATW2013 \
|
||||
EGRID INIT
|
||||
|
||||
@ -176,8 +152,8 @@ for test_name in ${tests}; do
|
||||
if grep -q "norne_full" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
deps/opm-data/norne/flow_ebos/ \
|
||||
$OPM_DATA_ROOT/norne/opm-simulation-reference/flow_ebos \
|
||||
deps/opm-data/norne/flow/ \
|
||||
$OPM_DATA_ROOT/norne/opm-simulation-reference/flow \
|
||||
NORNE_ATW2013 \
|
||||
UNSMRY
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user