mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-28 02:00:59 -06:00
add spe5 flow_solvent regression test
This commit is contained in:
parent
b0f4960ada
commit
cdf25e1a9e
@ -114,6 +114,7 @@ add_test_compareECLFiles(spe9 SPE9_CP_SHORT flow_ebos ${abs_tol} ${rel_tol} comp
|
||||
add_test_compareECLFiles(spe9 SPE9_CP_SHORT flow_legacy ${abs_tol} ${rel_tol} compareECLFiles "")
|
||||
add_test_compareECLFiles(msw_2d_h 2D_H__ flow_multisegment ${abs_tol} ${rel_tol} compareECLFiles "")
|
||||
add_test_compareECLFiles(polymer_simple2D 2D_THREEPHASE_POLY_HETER flow_polymer ${abs_tol} ${rel_tol} compareECLFiles "" polymer_simple2D run.param)
|
||||
add_test_compareECLFiles(spe5 SPE5CASE1 flow_solvent ${abs_tol} ${rel_tol} compareECLFiles "")
|
||||
|
||||
# Restart tests
|
||||
opm_set_test_driver(${PROJECT_SOURCE_DIR}/tests/run-restart-regressionTest.sh "")
|
||||
|
@ -19,7 +19,7 @@ copyToReferenceDir () {
|
||||
}
|
||||
|
||||
tests=${@:2}
|
||||
test -z "$tests" && tests="spe11 spe12 spe12p spe3 spe9 norne_init msw_2d_h polymer2d"
|
||||
test -z "$tests" && tests="spe11 spe12 spe12p spe3 spe5 spe9 norne_init msw_2d_h polymer2d"
|
||||
if grep -q -i "norne " <<< $ghprbCommentBody
|
||||
then
|
||||
if test -d $WORKSPACE/deps/opm-data/norne/flow
|
||||
@ -103,6 +103,15 @@ for test_name in ${tests}; do
|
||||
EGRID INIT PRT SMSPEC UNRST UNSMRY
|
||||
fi
|
||||
|
||||
if grep -q "spe5" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
$configuration/build-opm-simulators/tests/results/flow_solvent+spe5/ \
|
||||
$OPM_DATA_ROOT/spe5/opm-simulation-reference/flow_solvent \
|
||||
SPE5CASE1 \
|
||||
EGRID INIT SMSPEC UNRST UNSMRY
|
||||
fi
|
||||
|
||||
if grep -q "spe9" <<< $test_name
|
||||
then
|
||||
copyToReferenceDir \
|
||||
@ -158,6 +167,7 @@ then
|
||||
git status | grep "SPE1CASE2" && tests="$tests spe12"
|
||||
git status | grep "SPE3CASE1" && tests="$tests spe3"
|
||||
git status | grep "SPE1CASE2_2P" && tests="$tests spe1-2p"
|
||||
git status | grep "SPE5CASE1" && tests="$tests spe5"
|
||||
git status | grep "SPE9_CP" && tests="$tests spe9"
|
||||
git status | grep "2D_H__" && tests="$tests msw_2d_h"
|
||||
git status | grep "2D_THREEPHASE_POLY_HETER" && tests="$tests simple2d"
|
||||
|
Loading…
Reference in New Issue
Block a user