Skip to contentSkip to conversation

tests: Limit supported cpus on physical multicore targets

PATCH New Jan Kiszka 1 participant 1 message Jul 5, 2021

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 tests: Limit supported cpus on physical multicore targets

From: Jan Kiszka <[email protected]>

This tests xenomai.supported_cpus not covering all available CPUs, allowing the related smokey test to run and more.

We restrict this to targets with more than 2 cores, which currently excludes all QEMU targets.

---
 tests/jobs/xenomai-hikey.yml      | 2 ++
 tests/jobs/xenomai-ipc227e.yml    | 2 ++
 tests/jobs/xenomai-x86-64-efi.yml | 2 ++
 3 files changed, 6 insertions(+)
tests/jobs/xenomai-hikey.yml +2 -0
index f6eb4a4..a2cbdaa 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=0x7f
tests/jobs/xenomai-ipc227e.yml +2 -0
index a5a181c..131415a 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=0x7
tests/jobs/xenomai-x86-64-efi.yml +2 -0
index bc71b75..5a2f533 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=0x7
Signature · 1 line
2.26.2