fate: Print correct error message for reference generation too

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-03-30 11:41:58 +01:00
parent 6c8aa2035d
commit ee53777e70

View File

@ -206,7 +206,9 @@ fi
if test $err = 0; then
rm -f $outfile $errfile $cmpfile $cleanfiles
else
elif test $gen = "no"; then
echo "Test $test failed. Look at $errfile for details."
else
echo "Updating reference failed, possibly no output file was generated."
fi
exit $err