add spe5 flow_solvent regression test

This commit is contained in:
Arne Morten Kvarving 2017-06-12 10:22:21 +02:00
parent b0f4960ada
commit cdf25e1a9e
2 changed files with 12 additions and 1 deletions

View File

@ -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 "")

View File

@ -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"