mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
test runner: more verbose output
This commit is contained in:
parent
4a2b4ceb3b
commit
75cbe3f132
@ -19,16 +19,17 @@ function validateResults() {
|
||||
SIM_NAME="$2"
|
||||
|
||||
for REFERENCE_RESULT in referencesolutions/$SIM_NAME*; do
|
||||
echo "Comparing with \"$REFERENCE_RESULT\"... "
|
||||
if python bin/fuzzycomparevtu.py "$REFERENCE_RESULT" "$OUTPUT_FILE"; then
|
||||
# SUCCESS!!!!!!
|
||||
echo "Result file '$OUTPUT_FILE' and reference result '$REFERENCE_RESULT' are identical"
|
||||
echo "Result file '$OUTPUT_FILE' and reference '$REFERENCE_RESULT' are identical"
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
|
||||
echo "The files \"$TEST_RESULT\" and \"$REFERENCE_RESULT\" are different."
|
||||
echo "There are no reference results which are are identical to \"$TEST_RESULT\"."
|
||||
echo "Make sure the contents of \"$TEST_RESULT\" are still valid and "
|
||||
echo "make it the reference result if necessary."
|
||||
echo "if necessary, add a reference result."
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user