mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-26 00:26:25 -06:00
updated run-regressionTest.sh, added support for ignore_extra
This commit is contained in:
parent
a7fd029cbe
commit
0d916193b2
@ -22,12 +22,19 @@ cd ..
|
|||||||
|
|
||||||
|
|
||||||
ecode=0
|
ecode=0
|
||||||
|
|
||||||
|
ignore_extra_kw=""
|
||||||
|
if grep -q "ignore_extra" <<< $ghprbCommentBody
|
||||||
|
then
|
||||||
|
ignore_extra_kw="-x"
|
||||||
|
fi
|
||||||
|
|
||||||
echo "=== Executing comparison for EGRID, INIT, UNRST and RFT files if these exists in refrece folder ==="
|
echo "=== Executing comparison for EGRID, INIT, UNRST and RFT files if these exists in refrece folder ==="
|
||||||
${COMPARE_ECL_COMMAND} ${INPUT_DATA_PATH}/opm-simulation-reference/${EXE_NAME}/${FILENAME} ${RESULT_PATH}/${FILENAME} ${ABS_TOL} ${REL_TOL}
|
${COMPARE_ECL_COMMAND} ${ignore_extra_kw} ${INPUT_DATA_PATH}/opm-simulation-reference/${EXE_NAME}/${FILENAME} ${RESULT_PATH}/${FILENAME} ${ABS_TOL} ${REL_TOL}
|
||||||
if [ $? -ne 0 ]
|
if [ $? -ne 0 ]
|
||||||
then
|
then
|
||||||
ecode=1
|
ecode=1
|
||||||
${COMPARE_ECL_COMMAND} -a ${INPUT_DATA_PATH}/opm-simulation-reference/${EXE_NAME}/${FILENAME} ${RESULT_PATH}/${FILENAME} ${ABS_TOL} ${REL_TOL}
|
${COMPARE_ECL_COMMAND} ${ignore_extra_kw} -a ${INPUT_DATA_PATH}/opm-simulation-reference/${EXE_NAME}/${FILENAME} ${RESULT_PATH}/${FILENAME} ${ABS_TOL} ${REL_TOL}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $ecode
|
exit $ecode
|
||||||
|
Loading…
Reference in New Issue
Block a user