panfrost: ci: Check for incomplete runs

To improve robustness, check that we got the expected number of results.
Right now we hard-code the expected number of tests run, but with some
effort we may be able to infer it.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
This commit is contained in:
Tomeu Vizoso 2019-05-07 08:44:03 +02:00
parent 8e139250aa
commit 7842fe3a45
1 changed files with 1 additions and 0 deletions

View File

@ -192,6 +192,7 @@ build-arm64:
- 'echo "Passed: $PASSED ($(expr $PASSED \* 100 / $TOTAL)%)"'
- 'echo "Failed: $FAILED ($(expr $FAILED \* 100 / $TOTAL)%)"'
- 'echo "Total: $TOTAL"'
- 'if [ $TOTAL != 17439 ]; then echo "WARNING: Unexpected count of results. Incomplete run?"; fi'
- sed '/,pass/d' results/results-$lava_job_id.csv | sed 's/,fail//' > results/failures-$lava_job_id.txt
- diff -u src/gallium/drivers/panfrost/ci/expected-failures.txt results/failures-$lava_job_id.txt