[Mesa-dev] [PATCH 04/11] panfrost: ci: Fix list of tests to run

Tomeu Vizoso tomeu.vizoso at collabora.com
Thu May 9 06:35:04 UTC 2019


Make sure we have only test case names in the list, excluding names of
test groups.

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 9dd822016c35..a2133b489d6a 100644
--- a/src/gallium/drivers/panfrost/ci/deqp-runner.sh
+++ b/src/gallium/drivers/panfrost/ci/deqp-runner.sh
@@ -17,7 +17,7 @@ cd /deqp/modules/gles2
 # Generate test case list file
 weston --tty=7 &
 sleep 1  # Give some time for Weston to start up
-./deqp-gles2 --deqp-runmode=stdout-caselist | grep dEQP-GLES2 | cut -d ' ' -f 2 > /tmp/case-list.txt
+./deqp-gles2 --deqp-runmode=stdout-caselist | grep "TEST: dEQP-GLES2" | cut -d ' ' -f 2 > /tmp/case-list.txt
 
 # Disable for now tests that are very slow, either by just using lots of CPU or by crashing
 sed -i '/dEQP-GLES2.performance/d' /tmp/case-list.txt
@@ -30,7 +30,7 @@ touch /tmp/result.txt
 tail -f /tmp/result.txt &
 
 while [ -s /tmp/case-list.txt ]; do
-    head -$BATCH_SIZE /tmp/case-list.txt > /tmp/next-batch.txt
+	head -$BATCH_SIZE /tmp/case-list.txt > /tmp/next-batch.txt
 	./deqp-gles2 --deqp-log-filename=/dev/null --deqp-caselist-file=/tmp/next-batch.txt --deqp-watchdog=enable --deqp-crashhandler=enable >> /tmp/result.txt
 	deqp_status=$?
 
-- 
2.20.1



More information about the mesa-dev mailing list