Skip to contentSkip to conversation

tests: restrict realtime cpu

PATCH New Hongzhan Chen 1 participant 1 message Jun 25, 2021

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 tests: restrict realtime cpu

1. If there is no CPU restriction on the bootargs, smokey cpu_affinity test would be skipped reporting with "no kernel support" for those without non-RT cpu.
2. delete unused test job.

tests/jobs/xenomai-beagle-bone-black.yml +2 -0
index 034ac99..8117f29 100644
@@ -71,3 +71,5 @@ actions:
       from: inline
       path: inline/xenomai-test-suite.yaml
       name: xenomai-test-suite
+context:
+  extra_kernel_args: xenomai.supported_cpus=1
tests/jobs/xenomai-hikey.yml +2 -0
index f6eb4a4..a439379 100644
@@ -70,3 +70,5 @@ actions:
       from: inline
       path: inline/xenomai-test-suite.yaml
       name: xenomai-test-suite
+context:
+  extra_kernel_args: xenomai.supported_cpus=127
tests/jobs/xenomai-ipc227e.yml +2 -0
index a5a181c..209c5d4 100644
@@ -72,3 +72,5 @@ actions:
       from: inline
       path: inline/xenomai-test-suite.yaml
       name: xenomai-test-suite
+context:
+  extra_kernel_args: xenomai.supported_cpus=7
tests/jobs/xenomai-minnow.yml deleted +0 -73

73 lines not on this page · raw message

tests/jobs/xenomai-qemu-amd64.yml +2 -0
index c335292..b35a1a5 100644
@@ -87,3 +87,5 @@ actions:
       from: inline
       path: inline/xenomai-test-suite.yaml
       name: xenomai-test-suite
+context:
+  extra_kernel_args: xenomai.supported_cpus=1
tests/jobs/xenomai-qemu-arm64.yml +2 -0
index 88fb880..27418ff 100644
@@ -93,3 +93,5 @@ actions:
       from: inline
       path: inline/xenomai-test-suite.yaml
       name: xenomai-test-suite
+context:
+  extra_kernel_args: xenomai.supported_cpus=1
tests/jobs/xenomai-qemu-armhf.yml +2 -0
index 3e3a8ab..14501b7 100644
@@ -87,3 +87,5 @@ actions:
       from: inline
       path: inline/xenomai-test-suite.yaml
       name: xenomai-test-suite
+context:
+  extra_kernel_args: xenomai.supported_cpus=1
tests/jobs/xenomai-x86-64-efi.yml +2 -0
index bc71b75..d1418c1 100644
@@ -72,3 +72,5 @@ actions:
       from: inline
       path: inline/xenomai-test-suite.yaml
       name: xenomai-test-suite
+context:
+  extra_kernel_args: xenomai.supported_cpus=7
Signature · 1 line
2.17.1