diff options
author | Corentin LABBE <clabbe@baylibre.com> | 2020-11-10 09:58:23 +0000 |
---|---|---|
committer | Corentin LABBE <clabbe@baylibre.com> | 2020-11-10 10:01:09 +0000 |
commit | 3999ea8f05650ebe1715199ea24bf42b7c7f7a28 (patch) | |
tree | 948147629af4c346c51b75438d536a74476d0cff /templates | |
parent | 183f1c5ebc9a54213ca070d6fa7bd63345ed326e (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>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/agl-base.jinja2 | 3 | ||||
-rw-r--r-- | templates/tests/hack-SPEC3655.jinja2 | 21 |
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 |