added: option to add a restart run to a regression test

this restarts the simulation at a specified step.
it then compares the results from this run to a separate,
existing regression data set.
This commit is contained in:
Arne Morten Kvarving
2021-09-24 14:34:53 +02:00
parent e0f7b082c1
commit c6d2fc85ef
5 changed files with 51 additions and 14 deletions
+4 -3
View File
@@ -13,14 +13,15 @@ FILENAME="$4"
ABS_TOL="$5"
REL_TOL="$6"
COMPARE_ECL_COMMAND="$7"
EXE_NAME="${8}"
shift 8
# param 8 and 9 ignored, only used with regression tests
EXE_NAME="${10}"
shift 10
TEST_ARGS="$@"
rm -Rf ${RESULT_PATH}
mkdir -p ${RESULT_PATH}
cd ${RESULT_PATH}
${BINPATH}/${EXE_NAME} ${TEST_ARGS} --enable-dry-run=true --output-dir=${RESULT_PATH}
${BINPATH}/${EXE_NAME} ${TEST_ARGS} --enable-dry-run=true --output-dir=${RESULT_PATH} ${INPUT_DATA_PATH}/${FILENAME}
cd ..
ecode=0