mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 18:10:17 +01:00
ci/android: disable errexit in trap function
Signed-off-by: Guilherme Gallo <guilherme.gallo@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35126>
This commit is contained in:
parent
16754dbd13
commit
769a4aa34e
1 changed files with 5 additions and 3 deletions
|
|
@ -32,17 +32,19 @@ function my_atexit()
|
|||
{
|
||||
section_switch cuttlefish_stop "cuttlefish: stop + storing logs"
|
||||
set -x
|
||||
set +e # Be resilient and get logs even if stop_cvd fails
|
||||
|
||||
# shellcheck disable=SC2317
|
||||
HOME=/cuttlefish stop_cvd -wait_for_launcher=40
|
||||
|
||||
# shellcheck disable=SC2317
|
||||
cp /cuttlefish/cuttlefish/instances/cvd-1/logs/logcat $RESULTS_DIR || true
|
||||
cp /cuttlefish/cuttlefish/instances/cvd-1/logs/logcat $RESULTS_DIR
|
||||
# shellcheck disable=SC2317
|
||||
cp /cuttlefish/cuttlefish/instances/cvd-1/kernel.log $RESULTS_DIR || true
|
||||
cp /cuttlefish/cuttlefish/instances/cvd-1/kernel.log $RESULTS_DIR
|
||||
# shellcheck disable=SC2317
|
||||
cp /cuttlefish/cuttlefish/instances/cvd-1/logs/launcher.log $RESULTS_DIR || true
|
||||
cp /cuttlefish/cuttlefish/instances/cvd-1/logs/launcher.log $RESULTS_DIR
|
||||
|
||||
set -e
|
||||
set +x
|
||||
section_end cuttlefish_stop
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue