From b083f40ab6d20662141a727cb8aab915bfa77f77 Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Tue, 10 Nov 2020 09:58:23 +0000 Subject: SPEC-3655: Start weather/geoclue services (hack) For H3 and RPI4, we need to start weather/geoclue services until a proper solution to SPEC-3655 is found. Change-Id: I6cfd3ef5cad789e93e039a57d571a44c3e30594f Bug-AGL: SPEC-3655 Signed-off-by: Corentin LABBE (cherry picked from commit 3999ea8f05650ebe1715199ea24bf42b7c7f7a28) --- templates/base/agl-base.jinja2 | 3 +++ templates/tests/hack-SPEC3655.jinja2 | 21 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 templates/tests/hack-SPEC3655.jinja2 diff --git a/templates/base/agl-base.jinja2 b/templates/base/agl-base.jinja2 index 346de32..ab6cd93 100644 --- a/templates/base/agl-base.jinja2 +++ b/templates/base/agl-base.jinja2 @@ -44,6 +44,9 @@ actions: {%- if rootfs_type == "nbd" %} {% include "tests/veth.jinja2" %} {%- endif %} +{% if device_type == "r8a7795-h3ulcb-kf" or device_type == "bcm2711-rpi-4-b" %} +{% include "tests/hack-SPEC3655.jinja2" %} +{%- endif %} {%-for test_template in test_templates %} {% include test_template %} {%- endfor %} diff --git a/templates/tests/hack-SPEC3655.jinja2 b/templates/tests/hack-SPEC3655.jinja2 new file mode 100644 index 0000000..b622312 --- /dev/null +++ b/templates/tests/hack-SPEC3655.jinja2 @@ -0,0 +1,21 @@ +- test: + timeout: + minutes: 5 + definitions: + - repository: + metadata: + format: Lava-Test Test Definition 1.0 + name: HACK-SPEC-3655 + description: "Start geoclue weather services" + os: + - oe + scope: + - functional + run: + steps: + - afm-util start agl-service-geoclue + - afm-util start agl-service-weather + lava-signal: kmsg + from: inline + name: HACK-SPEC-3655 + path: inline/hack-spec-3655.yaml -- cgit 1.2.3-korg