diff options
Diffstat (limited to 'automated/android/boottime/boottime.yaml')
-rw-r--r-- | automated/android/boottime/boottime.yaml | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/automated/android/boottime/boottime.yaml b/automated/android/boottime/boottime.yaml new file mode 100644 index 0000000..51bc5df --- /dev/null +++ b/automated/android/boottime/boottime.yaml @@ -0,0 +1,37 @@ +metadata: + name: boottime + format: "Lava-Test-Shell Test Definition 1.0" + description: "collect the boottime data many times and try to analyse, + when run more than 4 times(including), the average will be + calculated without the maximum and the minmun, if run less + than or equal to 3 time, the average will be calculated with + all data" + maintainer: + - yongqin.liu@linaro.org + - chase.qi@linaro.org + os: + - android + scope: + - performance + devices: + - juno + - hi6220-hikey + +params: + # Specify device serial no. when more than one device connected. + ANDROID_SERIAL: "" + # Specify timeout in seconds for wait_boot_completed. + BOOT_TIMEOUT: "300" + # Available operations: COLLECT or ANALYZE + OPERATION: "COLLECT" + COLLECT_NO: "1" + # Specify url and token for file uploading. + URL: "https://archive.validation.linaro.org/artifacts/team/qa/" + TOKEN: "4373c97b474497dbd12373689d7d492e" + +run: + steps: + - cd ./automated/android/boottime + - ./boottime.sh -s "${ANDROID_SERIAL}" -t "${BOOT_TIMEOUT}" -o "${OPERATION}" -n "${COLLECT_NO}" + - if [ "${OPERATION}" = "ANALYZE" ]; then ../../utils/upload-to-artifactorial.sh -a "output/boottime.tgz" -u "${URL}" -t "${TOKEN}"; fi + - ../../utils/send-to-lava.sh ./output/result.txt |