From 7842fe3a457fec5d42e82523b833810b81ab8929 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Tue, 7 May 2019 08:44:03 +0200 Subject: 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 Reviewed-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/ci/gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/gallium/drivers/panfrost/ci/gitlab-ci.yml b/src/gallium/drivers/panfrost/ci/gitlab-ci.yml index af8019b0339..635d7b04bcd 100644 --- a/src/gallium/drivers/panfrost/ci/gitlab-ci.yml +++ b/src/gallium/drivers/panfrost/ci/gitlab-ci.yml @@ -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 -- cgit v1.2.3