SPE1 ebos test: also compare the UNRST files

this segfaulted due to a small pecularity of the compareECL
utility. thanks to [at]akva2 for pointing this out.

Also, this updates the reference solutions for this test in an attempt
to fix the jenkins complaint: The test seems to be quite sensitive to
the used compiler flags and Jenkins is not able to update the
reference solutions yet.
This commit is contained in:
Andreas Lauser 2019-01-21 15:27:05 +01:00
parent 1bfa31b54c
commit ebdf685dc6
5 changed files with 5 additions and 6 deletions

View File

@ -207,12 +207,11 @@ case "$TEST_TYPE" in
echo
echo "Comparing produced .UNRST file with reference."
echo " ... currently DISABLED because the compareECL utility crashes for the files produced by ebos!"
#"${COMPARE_ECL_COMMAND}" -t RST "SPE1CASE1.UNRST" "${MY_DIR}/../tests/referencesolutions/SPE1CASE1.UNRST" "${ABS_TOL}" "${REL_TOL}"
#if test "$?" -ne 0; then
# EXIT_CODE=1
# "${COMPARE_ECL_COMMAND}" -a -t RST "SPE1CASE1.UNRST" "${MY_DIR}/../tests/referencesolutions/SPE1CASE1.UNRST" "$ABS_TOL" "$REL_TOL"
#fi
"${COMPARE_ECL_COMMAND}" -t UNRST "SPE1CASE1" "${MY_DIR}/../tests/referencesolutions/SPE1CASE1" "${ABS_TOL}" "${REL_TOL}"
if test "$?" -ne 0; then
EXIT_CODE=1
"${COMPARE_ECL_COMMAND}" -a -t UNRST "SPE1CASE1" "${MY_DIR}/../tests/referencesolutions/SPE1CASE1" "$ABS_TOL" "$REL_TOL"
fi
echo
echo "Comparing produced .INIT file with reference."