blob: f2afedddb3ba71ec52b01708c5822e1c89864213 (
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
|
metadata:
name: qemu-system-test
format: "Lava-Test-Shell Test Definition 1.0"
description: "Setup and run a test on QEMU System Image"
maintainer:
- alex.bennee@linaro.org
os:
- ubuntu
scope:
- functional
devices:
- kvm
params:
# This is a combined image and initrd/rootfs that qemu can boot
IMAGE: http://people.linaro.org/~alex.bennee/images/aarch64-linux-buildroot.img
# List of tests to run
TESTS: boot
# The QEMU executable
QEMU_BIN: /usr/local/bin/qemu-system-aarch64
# The QEMU machine definitions
QEMU_MACHINE: virt
QEMU_ARGS: -cpu cortex-a57 -nographic -smp 1 -m 396
# The arguments passed to the kernel
KERNEL_ARGS: console=ttyAMA0
install:
steps:
- cd /home
- wget -O image ${IMAGE}
deps:
- wget
- expect
run:
steps:
- export QEMU_BIN QEMU_MACHINE QEMU_ARGS KERNEL_ARGS IMAGE
- ubuntu/scripts/qemu-system-tests.sh ${TESTS}
|