From 0bcbccf88712f455b61aaf39653582107c79e4a6 Mon Sep 17 00:00:00 2001 From: Tomeu Vizoso Date: Fri, 21 Jun 2019 12:47:57 +0200 Subject: [PATCH] panfrost: ci: Fix parsing of crashed tests Without this fix, LAVA isn't parsing crashes as failed tests, because the shell logging is interspersed within the fake deqp output. Signed-off-by: Tomeu Vizoso Acked-by: Alyssa Rosenzweig --- src/gallium/drivers/panfrost/ci/deqp-runner.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gallium/drivers/panfrost/ci/deqp-runner.sh b/src/gallium/drivers/panfrost/ci/deqp-runner.sh index 8645f75..0b11202 100644 --- a/src/gallium/drivers/panfrost/ci/deqp-runner.sh +++ b/src/gallium/drivers/panfrost/ci/deqp-runner.sh @@ -46,8 +46,8 @@ while [ -s /tmp/case-list.txt ]; do sed -i "0,/^$crashed_test$/d" /tmp/case-list.txt # So LAVA knows what happened - echo "Test case '$crashed_test'.." - echo " Crash" + echo "Test case '$crashed_test'.. + Crash" else # Consume a whole batch sed -i '1,'$BATCH_SIZE'd' /tmp/case-list.txt -- 2.7.4