aboutsummaryrefslogtreecommitdiff
path: root/android-lcr/lava-job-definitions/master/template-cts.yaml.jinja2
blob: c3d645b4ae9bfadd96fba438ca6f57b70740124f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{% extends device_type %}

{% block job_name %}{{JOB_NAME}}-{{ANDROID_META_BUILD}}-{{testname}}-{{abi}}{% endblock job_name %}

{% block test_target %}
{{ super() }}
- test:
    namespace: tlxc
    timeout:
      minutes: {% if job_timeout is defined %}{{ job_timeout-5|int|abs }}{% else %}300{% endif %}
    definitions:
    - repository: https://git.linaro.org/qa/test-definitions.git
      from: git
      path: automated/android/tradefed/tradefed.yaml
      params:
        TEST_PARAMS: "run {{testname}} --abi {{abi}} --disable-reboot --skip-preconditions --skip-device-info"
{% if CTS_PKG_URL is defined %}
        TEST_URL: "{{CTS_PKG_URL}}"
{% else %}
        TEST_URL: "http://testdata.linaro.org/cts/18.06/android-cts-8.1_r6-linux_x86-arm-linaro.zip"
{% endif %}
{% if ANDROID_VERSION_SUFFIX is defined and ANDROID_VERSION_SUFFIX == 'master' %}
        ANDROID_VERSION: "aosp-master"
{% endif %}
        FAILURES_PRINTED: "300"
      name: {{testname}}-{{abi}}
{% endblock test_target %}