mirror of https://git.ffmpeg.org/ffmpeg.git
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 cc0057a31c
)
Signed-off-by: Timothy Gu <timothygu99@gmail.com>
This commit is contained in:
parent
dcf23f1297
commit
ba7ccddb82
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue