summaryrefslogtreecommitdiffstats
path: root/templates/tests/ci.jinja2
diff options
context:
space:
mode:
authorKhouloud Touil <ktouil@baylibre.com>2019-08-07 17:04:30 +0200
committerKhouloud Touil <ktouil@baylibre.com>2019-08-08 12:09:30 +0200
commit55c756f9846551f826ac82d079a692d37d5c77d2 (patch)
tree5b41de5987877880c8192a540683c086624cdb20 /templates/tests/ci.jinja2
parente2df48ce0e435ef82efde7159b2f953206fa439f (diff)
Add/use the new arguemnt --build-tags
Add new argument --build-tags to be used in the job template and to be passed to the tests to be run along with using --device-tags. Bug-AGL: SPEC-2721 Signed-off-by: Khouloud Touil <ktouil@baylibre.com> Change-Id: I2fb4c3d0cb8cd1d0e3c36c1df55185cb4dde43c3
Diffstat (limited to 'templates/tests/ci.jinja2')
-rw-r--r--templates/tests/ci.jinja23
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/tests/ci.jinja2 b/templates/tests/ci.jinja2
index b5974fc..8408057 100644
--- a/templates/tests/ci.jinja2
+++ b/templates/tests/ci.jinja2
@@ -18,10 +18,9 @@
history: False
path: test-suites/short-smoke/service-check.yaml
name: service-check
-{%- if DEVICE_TAGS %}
parameters:
+ BUILD_TAGS: "{{ BUILD_TAGS|join(' ')|lower }}"
DEVICE_TAGS: "{{ DEVICE_TAGS|join(' ')|lower }}"
-{%- endif -%}
{% if "can" in DEVICE_TAGS|lower %}
{% include 'tests/can.jinja2' %}