From f56be74be6d520f88692d4f38816fadba3d0da40 Mon Sep 17 00:00:00 2001 From: Valentine Burley Date: Fri, 27 Jun 2025 13:48:14 +0200 Subject: [PATCH] ci/android: Add separate log section for Android CTS The Android CTS logs were previously buried under the `cuttlefish: setup` section. Add an uncollapsed section to improve visibility. Also remove the `gathering the results` section, which was empty in the logs. Signed-off-by: Valentine Burley Part-of: --- .gitlab-ci/android-cts-runner.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci/android-cts-runner.sh b/.gitlab-ci/android-cts-runner.sh index 8ae93d12fba..ba2e13adada 100755 --- a/.gitlab-ci/android-cts-runner.sh +++ b/.gitlab-ci/android-cts-runner.sh @@ -35,6 +35,8 @@ if [ -n "${ANDROID_CTS_PREPARE_COMMAND:-}" ]; then eval "$ANDROID_CTS_PREPARE_COMMAND" fi +uncollapsed_section_switch android_cts_test "Android CTS: testing" + set +e eval "/android-cts/tools/cts-tradefed" run commandAndExit cts-dev \ $INCLUDE_FILTERS \ @@ -60,9 +62,7 @@ TESTS_FAILED=$? EXIT_CODE=$? set -e -section_switch cuttlefish_results "cuttlefish: gathering the results" - cp -r "/android-cts/results/latest"/* $RESULTS_DIR cp -r "/android-cts/logs/latest"/* $RESULTS_DIR -section_end cuttlefish_results +section_end android_cts_test