Skip to content

Commit 19f65ab

Browse files
musamaanjumnuclearcat
authored andcommitted
config: runtime: tests: adjust v4l2-decoder-conformance job template arguments
This patch adjusts arguments from the original template to the pipeline format. Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> --- Changes since v1: - Rename path and name difinition variables
1 parent 3c55ad6 commit 19f65ab

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

config/runtime/tests/v4l2-decoder-conformance.jinja2

+4-8
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
{% set testsuite_arg = "-ts " + testsuite %}
33
{%- endif -%}
44
{%- if decoders -%}
5-
{%- set decoder_list = [ ] -%}
6-
{%- for decoder in decoders -%}
7-
{{ decoder_list.append(decoder) or "" }}
8-
{%- endfor -%}
9-
{%- set decoders_arg = "-d " + decoder_list|join(" ") -%}
5+
{%- set decoders_arg = "-d " + decoders|join(" ") -%}
106
{%- endif -%}
117
{%- if videodec_timeout -%}
128
{% set videodec_timeout_arg = "-t " + videodec_timeout|string %}
@@ -21,7 +17,7 @@
2117
- repository:
2218
metadata:
2319
format: Lava-Test Test Definition 1.0
24-
name: {{ plan }}
20+
name: {{ node.name }}
2521
description: "V4L2 decoder conformance test plan"
2622
os:
2723
- debian
@@ -31,5 +27,5 @@
3127
steps:
3228
- python3 /usr/bin/fluster_parser.py {{ testsuite_arg }} {{ decoders_arg }} {{ videodec_timeout_arg }} {{ videodec_parallel_jobs_arg }}
3329
from: inline
34-
name: {{ plan }}
35-
path: inline/{{ plan }}.yaml
30+
name: {{ node.name }}
31+
path: inline/{{ node.name }}.yaml

0 commit comments

Comments
 (0)