Browse Source

fate: fail with a sensible error message if reference file is missing

Originally committed as revision 24152 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Måns Rullgård 15 years ago
parent
commit
150ef830f5
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      tests/fate-run.sh

+ 5
- 0
tests/fate-run.sh View File

@@ -24,6 +24,11 @@ oneoff(){
fi
}

if ! test -e "$ref"; then
echo "reference file '$ref' not found"
exit 1
fi

mkdir -p "$outdir"

eval $target_exec $command > "$outfile" 2>/dev/null || exit


Loading…
Cancel
Save