summaryrefslogtreecommitdiff
path: root/unit-tests/lava/dispatcher-master-unit-tests.yaml
blob: a635cee4c4e22e929fa281f8f7c081c78002eeca (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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
metadata:
    format: Lava-Test Test Definition 1.0
    name: lava-dispatcher-master-unit-tests
    description: "LAVA dispatcher master branch unit tests on Debian Jessie"
    "version": "1.1"
    maintainer:
        - neil.williams@linaro.org
    os:
        - ubuntu
        - debian
    scope:
        - functional
    devices:
        - kvm

# These tests may need up to 512M of RAM in the KVM
# Check the mem_cpu option in the kvm.conf device_type.

install:
    deps:
        - git
        - bc
        - pep8
        - python-lzma
        - python-serial
        - python-configglue
        - python-pexpect
        - lava-tool
        - telnet
        - python-netifaces
        - python-requests
        - python-testscenarios
        - pylint
        - u-boot-tools
        - nfs-kernel-server
        - tftpd-hpa
        - qemu-system-x86
        - python-nose
        - python-zmq
        - python-configobj
        - android-tools-adb
        - android-tools-fastboot
    git-repos:
        - git://git.linaro.org/lava/lava-dispatcher.git


run:
    steps:
        - modprobe loop || true
        - cd lava-dispatcher
        - git log -n1
        - ../unit-tests/lava/version-wrapper.py
        - lava-test-case pep8 --shell pep8 --ignore E501 .
        - ../unit-tests/lava/unittests.sh
        - ../unit-tests/lava/fixme-report.sh
        - ../unit-tests/lava/pylint.sh "lava_dispatcher/pipeline"

parse:
    pattern: "(?P<test_case_id>.*) ... (?P<result>(ok|FAIL))"
    fixupdict:
        ok: pass
        FAIL: fail