Module: Mesa
Branch: main
Commit: e261e46c094c8f0bf5a537f2ad87ffa4e7f73038
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=e261e46c094c8f0bf5a537f2ad87ffa4e7f73038

Author: David Heidelberg <[email protected]>
Date:   Sat Mar 18 15:33:45 2023 +0100

ci: implement sections for cuttlefish

Reviewed-by: Helen Koike <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22005>

---

 .gitlab-ci/cuttlefish-runner.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/.gitlab-ci/cuttlefish-runner.sh b/.gitlab-ci/cuttlefish-runner.sh
index 48ed85c9083..10945c72cfb 100755
--- a/.gitlab-ci/cuttlefish-runner.sh
+++ b/.gitlab-ci/cuttlefish-runner.sh
@@ -1,5 +1,5 @@
 #!/usr/bin/env bash
-
+section_start cuttlefish_setup "cuttlefish: setup"
 set -xe
 
 export HOME=/cuttlefish
@@ -84,9 +84,9 @@ $ADB shell rm /vendor/lib64/egl/libGLESv1_CM_emulation.so
 $ADB shell rm /vendor/lib64/egl/libGLESv2_angle.so
 $ADB shell rm /vendor/lib64/egl/libGLESv2_emulation.so
 
-# run tests
 
 RESULTS=/data/results
+uncollapsed_section_switch cuttlefish_test "cuttlefish: testing"
 
 set +e
 $ADB shell "mkdir /data/results; cd /data; strace -o /data/results/out.strace 
-f -s 1000 ./deqp-runner \
@@ -103,6 +103,7 @@ $ADB shell "mkdir /data/results; cd /data; strace -o 
/data/results/out.strace -f
 
 EXIT_CODE=$?
 set -e
+section_switch cuttlefish_results "cuttlefish: gathering the results"
 
 $ADB pull $RESULTS results
 
@@ -110,4 +111,5 @@ cp /cuttlefish/cuttlefish/instances/cvd-1/logs/logcat 
results
 cp /cuttlefish/cuttlefish/instances/cvd-1/kernel.log results
 cp /cuttlefish/cuttlefish/instances/cvd-1/logs/launcher.log results
 
+section_end cuttlefish_results
 exit $EXIT_CODE

Reply via email to