perform some more analysis on regression test failures

This commit is contained in:
Arne Morten Kvarving
2017-02-16 16:00:42 +01:00
parent d2730175a0
commit 6183e78402
6 changed files with 180 additions and 5 deletions

View File

@@ -1,5 +1,9 @@
#!/bin/bash
# This performs a serial and a parallel for a simulator,
# then compares the summary and restart files from the two runs.
# Meant to track regression in parallel simulators.
INPUT_DATA_PATH="$1"
RESULT_PATH="$2"
BINPATH="$3"
@@ -28,8 +32,13 @@ ${COMPARE_SUMMARY_COMMAND} -R ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/mpi/${FI
if [ $? -ne 0 ]
then
ecode=1
`dirname $0`/analyze_summary_failure.sh ${COMPARE_SUMMARY_COMMAND} -R ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/mpi/${FILENAME} ${ABS_TOL} ${REL_TOL}
fi
${COMPARE_ECL_COMMAND} -l ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/mpi/${FILENAME} ${ABS_TOL} ${REL_TOL}
test $? -eq 0 || ecode=1
if [ $? -ne 0 ]
then
ecode=1
`dirname $0`/analyze_ecl_failure.sh ${COMPARE_ECL_COMMAND} UNRST ${RESULT_PATH}/${FILENAME} ${RESULT_PATH}/mpi/${FILENAME} ${ABS_TOL} ${REL_TOL}
fi
exit $ecode