mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
add update data for wecon_wtest
and fix filename inconsistency
This commit is contained in:
@@ -259,7 +259,7 @@ add_test_compareECLFiles(CASENAME spe5
|
|||||||
REL_TOL ${coarse_rel_tol}
|
REL_TOL ${coarse_rel_tol}
|
||||||
TEST_ARGS max_iter=20)
|
TEST_ARGS max_iter=20)
|
||||||
|
|
||||||
add_test_compareECLFiles(CASENAME wecon
|
add_test_compareECLFiles(CASENAME wecon_wtest
|
||||||
FILENAME 3D_WECON
|
FILENAME 3D_WECON
|
||||||
SIMULATOR flow
|
SIMULATOR flow
|
||||||
ABS_TOL ${abs_tol}
|
ABS_TOL ${abs_tol}
|
||||||
|
@@ -20,7 +20,7 @@ copyToReferenceDir () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tests=${@:2}
|
tests=${@:2}
|
||||||
test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe1nowells spe1thermal ctaquifer_2d_oilwater spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group polymer_oilwater"
|
test -z "$tests" && tests="spe11 spe12 spe12p spe1oilgas spe1nowells spe1thermal ctaquifer_2d_oilwater spe3 spe5 spe9 norne_init msw_2d_h msw_3d_hfa polymer2d spe9group polymer_oilwater wecon_wtest"
|
||||||
if grep -q -i "norne " <<< $ghprbCommentBody
|
if grep -q -i "norne " <<< $ghprbCommentBody
|
||||||
then
|
then
|
||||||
if test -d $WORKSPACE/deps/opm-tests/norne/flow
|
if test -d $WORKSPACE/deps/opm-tests/norne/flow
|
||||||
@@ -218,6 +218,15 @@ for test_name in ${tests}; do
|
|||||||
NORNE_ATW2013 \
|
NORNE_ATW2013 \
|
||||||
UNSMRY
|
UNSMRY
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if grep -q "wecon_wtest" <<< $test_name
|
||||||
|
then
|
||||||
|
copyToReferenceDir \
|
||||||
|
$configuration/build-opm-simulators/tests/results/flow+wecon_wtest/ \
|
||||||
|
$OPM_TESTS_ROOT/wecon_wtest/opm-simulation-reference/flow \
|
||||||
|
3D_WECON \
|
||||||
|
EGRID INIT SMSPEC UNRST UNSMRY
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
if [ -z "${@:2}" ]
|
if [ -z "${@:2}" ]
|
||||||
|
Reference in New Issue
Block a user