Skip to content

Commit 3c55ad6

Browse files
musamaanjumnuclearcat
authored andcommitted
config: runtime: tests: import "v4l2-decoder-conformance" template from legacy
This patch copies "config/lava/v4l2-decoder-conformance/v4l2-decoder-conformance.jinja2" template to "config/runtime/tests/" directory which will make it available for LAVA runtime job template in the new setup and also for the pipeline services. Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
1 parent 47ef054 commit 3c55ad6

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
{%- if testsuite -%}
2+
{% set testsuite_arg = "-ts " + testsuite %}
3+
{%- endif -%}
4+
{%- 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(" ") -%}
10+
{%- endif -%}
11+
{%- if videodec_timeout -%}
12+
{% set videodec_timeout_arg = "-t " + videodec_timeout|string %}
13+
{%- endif -%}
14+
{%- if videodec_parallel_jobs -%}
15+
{% set videodec_parallel_jobs_arg = "-j " + videodec_parallel_jobs|string %}
16+
{%- endif -%}
17+
- test:
18+
timeout:
19+
minutes: {{ job_timeout }}
20+
definitions:
21+
- repository:
22+
metadata:
23+
format: Lava-Test Test Definition 1.0
24+
name: {{ plan }}
25+
description: "V4L2 decoder conformance test plan"
26+
os:
27+
- debian
28+
scope:
29+
- functional
30+
run:
31+
steps:
32+
- python3 /usr/bin/fluster_parser.py {{ testsuite_arg }} {{ decoders_arg }} {{ videodec_timeout_arg }} {{ videodec_parallel_jobs_arg }}
33+
from: inline
34+
name: {{ plan }}
35+
path: inline/{{ plan }}.yaml

0 commit comments

Comments
 (0)