[Mesa-dev] [PATCH] panfrost: ci: Fix parsing of crashed tests

Tomeu Vizoso tomeu.vizoso at collabora.com
Fri Jun 21 10:49:03 UTC 2019


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 <tomeu.vizoso at collabora.com>
---
 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 8645f75080e6..0b11202c1086 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.20.1



More information about the mesa-dev mailing list