From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v2 3/4] CI: Minimize kselftest checking
Date: Fri, 16 Aug 2024 10:25:25 +0300 [thread overview]
Message-ID: <20240816072526.65382-4-amikan@ilbers.de> (raw)
In-Reply-To: <20240816072526.65382-1-amikan@ilbers.de>
There is no need in building kselftest for all the targets.
Move it to the separate test case.
Use the same targets set as cross build test case.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
testsuite/cibuilder.py | 1 -
testsuite/citest.py | 16 ++++++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/testsuite/cibuilder.py b/testsuite/cibuilder.py
index 3f77cd42..2311631d 100755
--- a/testsuite/cibuilder.py
+++ b/testsuite/cibuilder.py
@@ -167,7 +167,6 @@ class CIBuilder(Test):
f.write('ISAR_ENABLE_COMPAT_ARCH:arm64 = "1"\n')
f.write('IMAGE_INSTALL:remove:arm64 = "hello-isar"\n')
f.write('IMAGE_INSTALL:append:arm64 = " hello-isar-compat"\n')
- f.write('IMAGE_INSTALL += "kselftest"\n')
if cross:
f.write('ISAR_CROSS_COMPILE = "1"\n')
f.write(
diff --git a/testsuite/citest.py b/testsuite/citest.py
index 336eea4e..29641d38 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -153,6 +153,22 @@ class CrossTest(CIBaseTest):
self.init()
self.perform_build_test(targets, debsrc_cache=True)
+ def test_cross_kselftest(self):
+ targets = [
+ 'mc:qemuarm-buster:kselftest',
+ 'mc:qemuarm-bullseye:kselftest',
+ 'mc:de0-nano-soc-bullseye:kselftest',
+ 'mc:stm32mp15x-bullseye:kselftest',
+ 'mc:qemuarm-bookworm:kselftest',
+ 'mc:qemuarm64-bookworm:kselftest',
+ 'mc:qemuarm64-focal:kselftest',
+ 'mc:nanopi-neo-efi-bookworm:kselftest',
+ 'mc:phyboard-mira-bookworm:kselftest',
+ ]
+
+ self.init()
+ self.perform_build_test(targets)
+
def test_cross_rpi(self):
targets = [
'mc:rpi-arm-v7-bullseye:isar-image-base',
--
2.34.1
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/20240816072526.65382-4-amikan%40ilbers.de.
next prev parent reply other threads:[~2024-08-16 7:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-16 7:25 [PATCH v2 0/4] Speedup testsuites Anton Mikanovich
2024-08-16 7:25 ` [PATCH v2 1/4] CI: Remove cleanup before nocross build Anton Mikanovich
2024-08-16 7:25 ` [PATCH v2 2/4] CI: Minimize debsrc_cache checking Anton Mikanovich
2024-08-16 7:25 ` Anton Mikanovich [this message]
2024-08-16 7:25 ` [PATCH v2 4/4] CI: Minimize testsuites duplication Anton Mikanovich
2024-08-21 4:48 ` [PATCH v2 0/4] Speedup testsuites Uladzimir Bely
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240816072526.65382-4-amikan@ilbers.de \
--to=amikan@ilbers.de \
--cc=isar-users@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox