Skip to content

Commit

Permalink
test-configs add preempt-rt test-plan
Browse files Browse the repository at this point in the history
Add preempt-rt test-plan based on Daniel Wagner's fork of
the Linaro test-definitions repo.

Uses vanilla KernelCI debian buster NFS root filesystem, and installs
rt-tests via apt-get before running the test plan.
  • Loading branch information
khilman committed Sep 16, 2020
1 parent f6671e4 commit 5e5d007
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 0 deletions.
@@ -0,0 +1,8 @@
{% extends 'boot-nfs/generic-uboot-tftp-nfs-template.jinja2' %}

{% block actions %}
{{ super () }}

{% include 'preempt-rt/preempt-rt.jinja2' %}

{% endblock %}
30 changes: 30 additions & 0 deletions templates/preempt-rt/preempt-rt.jinja2
@@ -0,0 +1,30 @@
- test:
timeout:
minutes: 10

definitions:
- from: inline
repository:
metadata:
format: Lava-Test Test Definition 1.0
name: preempt-rt-prereq
description: Pre-requisites for PREEMPT_RT
run:
steps:
- apt-get update && apt-get install -y procps rt-tests
name: preempt-rt-prereq
path: inline/preempt-rt-prereq.yaml

- repository: https://github.com/igaw/test-definitions.git
from: git
revision: preempt-rt
path: automated/linux/cyclictest/cyclictest.yaml
name: cyclictest
parameters:
AFFINTIY: 0-1
BACKGROUND_CMD: hackbench
DURATION: 300s
INTERVAL: 1000
MAX_LATENCY: 35
PRIORITY: 98
THREADS: 2
6 changes: 6 additions & 0 deletions test-configs.yaml
Expand Up @@ -179,6 +179,12 @@ test_plans:
filters:
- blocklist: *kselftest_defconfig_filter

preempt-rt:
rootfs: debian_buster_nfs
pattern: 'preempt-rt/{category}-{method}-{protocol}-nfs-preempt-rt-template.jinja2'
filters:
- passlist: {defconfig: ['preempt_rt']}

sleep:
rootfs: debian_buster_ramdisk

Expand Down

0 comments on commit 5e5d007

Please sign in to comment.