summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2021-01-19 13:22:48 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2021-01-21 00:11:16 +0000
commitc07a99040430081fb84c6540dd9051c7266ceb96 (patch)
tree13102b8d4efb5fecd10ba6ccbeddd03e4077a701
parent2c495b091a42ca3127d438bcd41692aa6e0063c8 (diff)
SPEC-3764: Enable screenshooter test
This patch enable screenhooter test. The qemuarm need more memory for working with this test. Change-Id: I1aae32688efb4bb8264e3d85bd3c439b7b9f6764 Bug-AGL: SPEC-3764 Signed-off-by: Corentin LABBE <clabbe@baylibre.com>
-rw-r--r--templates/config/default.cfg4
-rw-r--r--templates/machines/qemuarm.jinja24
-rw-r--r--templates/tests/screenshooter.jinja28
3 files changed, 12 insertions, 4 deletions
diff --git a/templates/config/default.cfg b/templates/config/default.cfg
index a66d75e..f3bfd30 100644
--- a/templates/config/default.cfg
+++ b/templates/config/default.cfg
@@ -14,9 +14,9 @@ test_plan = ["release", "pyagl", "can"]
[daily]
[snapshot]
urlbase = http://download.automotivelinux.org/AGL/snapshots/
-test_plan = ["release", "pyagl", "can", "dumpjournal"]
+test_plan = ["release", "pyagl", "can", "screenshooter", "dumpjournal"]
[ci]
urlbase = http://download.automotivelinux.org/AGL/upload/ci/
-test_plan = ["ci", "pyagl", "can", "dumpjournal"]
+test_plan = ["ci", "pyagl", "can", "screenshooter", "dumpjournal"]
diff --git a/templates/machines/qemuarm.jinja2 b/templates/machines/qemuarm.jinja2
index ec2ce0b..da7f313 100644
--- a/templates/machines/qemuarm.jinja2
+++ b/templates/machines/qemuarm.jinja2
@@ -9,9 +9,9 @@
{%- set qemu_model = "model=virtio" %}
{%- set qemu_cpu = "cortex-a15" %}
{%- set qemu_machine = "virt-2.11" %}
-{%- set qemu_memory = "2048" %}
+{%- set qemu_memory = "4096" %}
{%- set qemu_args = "-smp 2 -soundhw hda -device usb-ehci -device virtio-rng-pci -device VGA,vgamem_mb=64,edid=on -device qemu-xhci -device usb-tablet -device usb-kbd" %}
-{%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda verbose systemd.log_color=false " %}
+{%- set qemu_cmdline = "console=ttyAMA0,115200 root=/dev/vda verbose systemd.log_color=false vmalloc=256M " %}
{%- set guestfs_interface = "virtio" %}
{%- set rootfs_type = rootfs_type|default("rootvd") %}
{%- if (build_type == 'daily') or (build_type == 'release') or (build_type == 'snapshot') or (build_type == 'prerelease') %}
diff --git a/templates/tests/screenshooter.jinja2 b/templates/tests/screenshooter.jinja2
new file mode 100644
index 0000000..6a2e21a
--- /dev/null
+++ b/templates/tests/screenshooter.jinja2
@@ -0,0 +1,8 @@
+- test:
+ timeout:
+ minutes: 15
+ definitions:
+ - repository: https://git.automotivelinux.org/src/qa-testdefinitions
+ from: git
+ path: test-suites/short-smoke/screenshooter.yaml
+ name: screenshooter