diff options
author | Timothy Gu <timothygu99@gmail.com> | 2014-06-09 21:46:37 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-22 12:27:24 +0200 |
commit | ba7ccddb82dc9be8d272d8fa5ece6561a7025757 (patch) | |
tree | be683150a6dc602cc180ff5bfbeaef01500d1470 | |
parent | dcf23f12979e355af06a2a7655019bf7c5370c5f (diff) | |
download | ffmpeg-ba7ccddb82dc9be8d272d8fa5ece6561a7025757.tar.gz |
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@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit cc0057a31c7097839f9c4e4da61e2933b5b0e055)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
-rwxr-xr-x | tests/fate.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/fate.sh b/tests/fate.sh index c474be7139..fd2d8fc21c 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 |