mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-31 09:50:08 +01:00
ci: implement sections for cuttlefish
Reviewed-by: Helen Koike <helen.koike@collabora.com> Signed-off-by: David Heidelberg <david.heidelberg@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22005>
This commit is contained in:
parent
981f512037
commit
e261e46c09
1 changed files with 4 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue