mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #1408 from atgeirr/add-nowells-test
Add integration test with no wells.
This commit is contained in:
commit
e3e4f3acac
@ -181,6 +181,13 @@ add_test_compareECLFiles(CASENAME spe1
|
|||||||
ABS_TOL ${abs_tol}
|
ABS_TOL ${abs_tol}
|
||||||
REL_TOL ${rel_tol})
|
REL_TOL ${rel_tol})
|
||||||
|
|
||||||
|
add_test_compareECLFiles(CASENAME spe1_nowells
|
||||||
|
FILENAME SPE1CASE2_NOWELLS
|
||||||
|
SIMULATOR flow
|
||||||
|
ABS_TOL ${abs_tol}
|
||||||
|
REL_TOL ${rel_tol}
|
||||||
|
DIR spe1)
|
||||||
|
|
||||||
foreach(SIM flow flow_legacy)
|
foreach(SIM flow flow_legacy)
|
||||||
add_test_compareECLFiles(CASENAME spe3
|
add_test_compareECLFiles(CASENAME spe3
|
||||||
FILENAME SPE3CASE1
|
FILENAME SPE3CASE1
|
||||||
|
@ -20,7 +20,7 @@ copyToReferenceDir () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tests=${@:2}
|
tests=${@:2}
|
||||||
test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group"
|
test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe1nowells spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group"
|
||||||
if grep -q -i "norne " <<< $ghprbCommentBody
|
if grep -q -i "norne " <<< $ghprbCommentBody
|
||||||
then
|
then
|
||||||
if test -d $WORKSPACE/deps/opm-data/norne/flow
|
if test -d $WORKSPACE/deps/opm-data/norne/flow
|
||||||
@ -80,6 +80,15 @@ for test_name in ${tests}; do
|
|||||||
EGRID INIT SMSPEC UNRST UNSMRY
|
EGRID INIT SMSPEC UNRST UNSMRY
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if grep -q "spe1nowells" <<< $test_name
|
||||||
|
then
|
||||||
|
copyToReferenceDir \
|
||||||
|
$configuration/build-opm-simulators/tests/results/flow+spe1_nowells/ \
|
||||||
|
$OPM_DATA_ROOT/spe1/opm-simulation-reference/flow \
|
||||||
|
SPE1CASE2_NOWELLS \
|
||||||
|
EGRID INIT SMSPEC UNRST UNSMRY
|
||||||
|
fi
|
||||||
|
|
||||||
if grep -q "msw_2d_h" <<< $test_name
|
if grep -q "msw_2d_h" <<< $test_name
|
||||||
then
|
then
|
||||||
copyToReferenceDir \
|
copyToReferenceDir \
|
||||||
|
Loading…
Reference in New Issue
Block a user