[FFmpeg-cvslog] tests/fate.sh: report different status for different errors

Timothy Gu git at videolan.org
Tue Apr 7 13:07:35 CEST 2015


ffmpeg | branch: release/2.2 | Timothy Gu <timothygu99 at gmail.com> | Mon Jun  9 21:46:37 2014 -0700| [83ac312c3cbfdddea25b84e5b7ea595ef073a029] | committer: Michael Niedermayer

tests/fate.sh: report different status for different errors

The order of error codes will be useful in my future fateserver patches.

Signed-off-by: Timothy Gu <timothygu99 at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
(cherry picked from commit cc0057a31c7097839f9c4e4da61e2933b5b0e055)
Signed-off-by: Timothy Gu <timothygu99 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=83ac312c3cbfdddea25b84e5b7ea595ef073a029
---

 tests/fate.sh |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tests/fate.sh b/tests/fate.sh
index f371291..38458c7 100755
--- a/tests/fate.sh
+++ b/tests/fate.sh
@@ -111,8 +111,8 @@ echo ${version} >version-$slot
 rm -rf "${build}" *.log
 mkdir -p ${build}
 
-configure >configure.log 2>&1 || fail $? "error configuring"
-compile   >compile.log   2>&1 || fail $? "error compiling"
-fate      >test.log      2>&1 || fail $? "error testing"
+configure >configure.log 2>&1 || fail 3 "error configuring"
+compile   >compile.log   2>&1 || fail 2 "error compiling"
+fate      >test.log      2>&1 || fail 1 "error testing"
 report 0 success
 clean



More information about the ffmpeg-cvslog mailing list