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:

committed by
Tomeu Vizoso

parent
0723692a21
commit
5f32d2a438
@@ -128,10 +128,9 @@ actions:
|
||||
export DISPLAY=:0;
|
||||
fi"
|
||||
|
||||
- "if sh $LAVA_TEST_SCRIPT; then
|
||||
- "export RESULT=fail;
|
||||
if sh $LAVA_TEST_SCRIPT; then
|
||||
export RESULT=pass;
|
||||
else
|
||||
export RESULT=fail;
|
||||
fi"
|
||||
|
||||
- "if [ -d results ]; then
|
||||
@@ -140,9 +139,9 @@ actions:
|
||||
ci-fairy minio cp results.tar.gz minio://${JOB_ARTIFACTS_BASE}/results.tar.gz;
|
||||
fi"
|
||||
|
||||
- "echo mesa: $RESULT"
|
||||
- "echo hwci: mesa: $RESULT"
|
||||
parse:
|
||||
pattern: '(?P<test_case_id>\S*):\s+(?P<result>(pass|fail))'
|
||||
pattern: 'hwci: (?P<test_case_id>\S*):\s+(?P<result>(pass|fail))'
|
||||
from: inline
|
||||
name: mesa
|
||||
path: inline/mesa.yaml
|
||||
|
Reference in New Issue
Block a user