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

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