From cc0057a31c7097839f9c4e4da61e2933b5b0e055 Mon Sep 17 00:00:00 2001 From: Timothy Gu Date: Mon, 9 Jun 2014 21:46:37 -0700 Subject: 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 Signed-off-by: Michael Niedermayer --- tests/fate.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/fate.sh') 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 -- cgit v1.1