panfrost: ci: Fix parsing of crashed tests
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Fri, 21 Jun 2019 10:47:57 +0000 (12:47 +0200)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 21 Jun 2019 16:35:35 +0000 (09:35 -0700)
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@collabora.com>
Acked-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/ci/deqp-runner.sh

index 8645f75080e6e7bfa114bad8e35bc019288bfd03..0b11202c108654b96f008bd955f0d3251e420128 100644 (file)
@@ -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