mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 02:30:18 -06:00
add update data for wecon_wtest
and fix filename inconsistency
This commit is contained in:
parent
22755cc257
commit
0f4038342d
@ -259,7 +259,7 @@ add_test_compareECLFiles(CASENAME spe5
|
||||
REL_TOL ${coarse_rel_tol}
|
||||
TEST_ARGS max_iter=20)
|
||||
|
||||
add_test_compareECLFiles(CASENAME wecon
|
||||
add_test_compareECLFiles(CASENAME wecon_wtest
|
||||
FILENAME 3D_WECON
|
||||
SIMULATOR flow
|
||||
ABS_TOL ${abs_tol}
|
||||
|
@ -20,7 +20,7 @@ copyToReferenceDir () {
|
||||
}
|
||||
|
||||
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
|
||||
then
|
||||
if test -d $WORKSPACE/deps/opm-tests/norne/flow
|
||||
@ -218,6 +218,15 @@ for test_name in ${tests}; do
|
||||
NORNE_ATW2013 \
|
||||
UNSMRY
|
||||
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
|
||||
|
||||
if [ -z "${@:2}" ]
|
||||
|
Loading…
Reference in New Issue
Block a user