Skip to content

automated/android/apk-automation/apk-automation

Description

Automate testing with Android APK.

Maintainer

  • milosz.wasilewski@linaro.org
  • chase.qi@linaro.org

OS

  • android

Scope

  • performance

Devices

  • juno
  • hi6220-hikey
  • x15

Steps to reproduce

  • cd ./automated/android/apk-automation
  • ./apk-automation.sh -S "${SKIP_INSTALL}" -t "${BOOT_TIMEOUT}" -s "${ANDROID_SERIAL}" -n "${TEST_NAME}" -l "${LOOPS}" -d "${APK_DIR}" -u "${BASE_URL}" -g "${SET_GOVERNOR_POLICY}"
  • cp "./output/${TEST_NAME}/result.txt" "./output/result.txt"
  • tar caf "output-${TEST_NAME}.tar.xz" "./output"
  • if [ -n "${SQUAD_UPLOAD_URL}" ]; then ../../utils/upload-to-squad.sh -a "output-${TEST_NAME}.tar.xz" -u "${SQUAD_UPLOAD_URL}"; fi
  • if [ -z "${SQUAD_UPLOAD_URL}" ]; then ../../utils/upload-to-artifactorial.sh -a "output-${TEST_NAME}.tar.xz" -u "${ARTIFACTORIAL_URL}" -t "${ARTIFACTORIAL_TOKEN}"; fi
  • ../../utils/send-to-lava.sh "./output/result.txt"