ci/android: have a cleaner structure for results from Android CTS

Have a cleaner structure for results from Android CTS, this serves
multiple purposes:

- separate Android CTS specific results from other generic files under
  RESULTS_DIR

- keep Android CTS test results and Android CTS execution logs separate,
  to follow a structure more familiar to people used to Android CTS.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35971>
This commit is contained in:
Antonio Ospite
2025-07-07 15:49:36 +02:00
committed by Marge Bot
parent aaf29ade1c
commit f118c6062a

View File

@@ -62,12 +62,13 @@ TESTS_FAILED=$?
EXIT_CODE=$? EXIT_CODE=$?
set -e set -e
cp -r "/android-cts/results/latest"/* $RESULTS_DIR mkdir "${RESULTS_DIR}/android-cts"
cp -r "/android-cts/logs/latest"/* $RESULTS_DIR cp -r "/android-cts/results/latest/" "${RESULTS_DIR}/android-cts/results"
cp -r "/android-cts/logs/latest/" "${RESULTS_DIR}/android-cts/logs"
if [ -n "${ARTIFACTS_BASE_URL:-}" ]; then if [ -n "${ARTIFACTS_BASE_URL:-}" ]; then
echo "============================================" echo "============================================"
echo "Review the Android CTS test results at: ${ARTIFACTS_BASE_URL}/results/test_result.html" echo "Review the Android CTS test results at: ${ARTIFACTS_BASE_URL}/results/android-cts/results/test_result.html"
fi fi
section_end android_cts_test section_end android_cts_test