blob: 4c31d979cd1a058d4b84dbeefe01d4994e00f97a (
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
|
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:
git-repos:
- git://git.linaro.org/lava/lava-dispatcher.git
run:
steps:
- apt-get update -q
- DEBIAN_FRONTEND=noninteractive lava-test-case install-base --shell apt-get -q -y install -o Dpkg::Options::="--force-confold" 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
- 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
|