[FFmpeg-cvslog] tests/fate.sh: report different status for different errors
Timothy Gu
git at videolan.org
Fri Jun 20 06:00:59 CEST 2014
ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Mon Jun 9 21:46:37 2014 -0700| [cc0057a31c7097839f9c4e4da61e2933b5b0e055] | 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>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cc0057a31c7097839f9c4e4da61e2933b5b0e055
---
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