aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-09 23:26:33 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-09 23:26:33 +0000
commit58d2b1544720cba8100ed0148edb73147f08b3e8 (patch)
treeae95bbcbf4783d054f6a6c480fca8d76d9cabeaa /tests
parentf6dddd33749db46b44bc25cd7c3044852d129a4f (diff)
downloadffmpeg-58d2b1544720cba8100ed0148edb73147f08b3e8.tar.gz
fate: exit with error immediately if test command fails
Originally committed as revision 24147 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'tests')
-rwxr-xr-xtests/fate-run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fate-run.sh b/tests/fate-run.sh
index 7dce9b030e..278e2479bc 100755
--- a/tests/fate-run.sh
+++ b/tests/fate-run.sh
@@ -26,7 +26,7 @@ oneoff(){
mkdir -p "$outdir"
-eval $target_exec $command > "$outfile" 2>/dev/null
+eval $target_exec $command > "$outfile" 2>/dev/null || exit
case $cmp in
diff) diff -u -w "$ref" "$outfile" ;;