Skip to content

Commit dbb5c3f

Browse files
pawiecznuclearcat
authored andcommitted
config: add initial support for kselftests
This initial patch introduces simple kselftest job template and job definition together with a schedule entry for "dt" testsuite in the pipeline configuration. This patch does not cover full migration from legacy system of the kselftest-dt: job is submitted to only a single LAVA runtime and not all supported platforms were used (others are dedicated to ChromeOS). Signed-off-by: Paweł Wieczorek <pawiecz@collabora.com>
1 parent 33fa931 commit dbb5c3f

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

config/pipeline.yaml

+18
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,13 @@ jobs:
223223
kind: test
224224
image: kernelci/staging-kernelci
225225

226+
kselftest-dt:
227+
template: kselftest.jinja2
228+
kind: test
229+
params:
230+
collections: dt
231+
job_timeout: 10
232+
226233

227234
trees:
228235

@@ -411,6 +418,17 @@ scheduler:
411418
runtime:
412419
type: shell
413420

421+
- job: kselftest-dt
422+
event:
423+
channel: node
424+
name: kbuild-gcc-10-arm64
425+
result: pass
426+
runtime:
427+
type: lava
428+
name: lava-collabora
429+
platforms:
430+
- bcm2711-rpi-4-b
431+
414432
# -----------------------------------------------------------------------------
415433
# Legacy configuration data (still used by trigger service)
416434
#

config/runtime/kselftest.jinja2

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{%- set boot_commands = 'nfs' %}
2+
{%- set test_method = 'kselftest' %}
3+
{%- set base_template = 'base/' + runtime + '.jinja2' %}
4+
{%- extends base_template %}

0 commit comments

Comments
 (0)