ci: Consistent pass/fail result output

One less point of differentiation.

Signed-off-by: Daniel Stone <daniels@collabora.com>
Acked-by: Martin Peres <martin.peres@mupuf.org>
Acked-by: Emma Anholt <emma@anholt.net>
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11337>
This commit is contained in:
Daniel Stone
2021-06-11 16:44:55 +01:00
committed by Tomeu Vizoso
parent 0723692a21
commit 5f32d2a438
5 changed files with 10 additions and 16 deletions

View File

@@ -45,10 +45,9 @@ if [ -n "$BM_START_XORG" ]; then
export DISPLAY=:0
fi
RESULT=fail
if sh $BARE_METAL_TEST_SCRIPT; then
OK=1
else
OK=0
RESULT=pass
fi
# upload artifacts via webdav
@@ -57,8 +56,4 @@ if [ -n "$WEBDAV" ]; then
find /results -type f -exec curl -T {} $WEBDAV/{} \;
fi
if [ $OK -eq 1 ]; then
echo "bare-metal result: pass"
else
echo "bare-metal result: fail"
fi
echo "hwci: mesa: $RESULT"