aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorGuillaume Tucker <guillaume.tucker@collabora.com>2019-01-17 15:06:04 +0000
committerGuillaume Tucker <guillaume.tucker@collabora.com>2019-01-30 11:01:13 +0000
commit73c2beab9fb1ad64f17b33d3a5755603a1640ed3 (patch)
treee7d0cfaeb6461fcf582c36ff8eb757066b417759 /templates
parent271153669018a611d5d111c18c629ae05835ab91 (diff)
v4l2: add v4l2_driver and plan_name parameters
Pass the v4l2 driver name to v4l2-parser.sh using a v4l2_driver template paramter, and set the test plan name dynamically with plan_name to allow variants (v4l2-vivid etc...). Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Diffstat (limited to 'templates')
-rw-r--r--templates/v4l2/v4l2.jinja24
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/v4l2/v4l2.jinja2 b/templates/v4l2/v4l2.jinja2
index 8787acc..2260aeb 100644
--- a/templates/v4l2/v4l2.jinja2
+++ b/templates/v4l2/v4l2.jinja2
@@ -13,7 +13,7 @@
- functional
run:
steps:
- - /usr/bin/v4l2-parser.sh
+ - /usr/bin/v4l2-parser.sh {{ v4l2_driver }}
from: inline
- name: v4l2
+ name: {{ plan_name }}
path: inline/v4l2.yaml