aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-11-10 09:58:23 +0000
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2020-11-23 14:24:01 +0000
commitb083f40ab6d20662141a727cb8aab915bfa77f77 (patch)
treef94725cbb022b7da469ab613ebd58f5717eb3bef /templates
parentb0ae73af21ae86190ff3ecff1509adb05a62dd77 (diff)
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 <clabbe@baylibre.com> (cherry picked from commit 3999ea8f05650ebe1715199ea24bf42b7c7f7a28)
Diffstat (limited to 'templates')
-rw-r--r--templates/base/agl-base.jinja23
-rw-r--r--templates/tests/hack-SPEC3655.jinja221
2 files changed, 24 insertions, 0 deletions
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