Commit cc0057a3 authored by Timothy Gu's avatar Timothy Gu Committed by 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: 's avatarTimothy Gu <timothygu99@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b05d5089
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment