From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH v1 3/4] CI: Add developers test
Date: Tue, 29 Nov 2022 14:43:43 +0300 [thread overview]
Message-ID: <20221129114344.19128-4-amikan@ilbers.de> (raw)
In-Reply-To: <20221129114344.19128-1-amikan@ilbers.de>
Developers test consist of minimal test cases for patches checking.
To ensure dev test is 'always green' include it into full CI.
Dev test can be executed using 'dev' avocado tag.
Signed-off-by: Anton Mikanovich <amikan@ilbers.de>
---
testsuite/citest.py | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/testsuite/citest.py b/testsuite/citest.py
index 2dc78015..5db67c9c 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -17,6 +17,38 @@ try:
except path.CmdNotFoundError:
SKOPEO_AVAILABLE = False
+class DevTest(CIBaseTest):
+
+ """
+ Developer's test
+
+ :avocado: tags=dev,full
+ """
+ def test_dev(self):
+ targets = [
+ 'mc:qemuamd64-bullseye:isar-image-base',
+ 'mc:qemuarm-bullseye:isar-image-base'
+ ]
+
+ self.init()
+ self.perform_build_test(targets, cross=True, image_install="")
+
+ def test_dev_apps(self):
+ targets = [
+ 'mc:qemuamd64-bullseye:isar-image-base'
+ ]
+
+ self.init()
+ self.perform_build_test(targets)
+
+ def test_dev_container(self):
+ targets = [
+ 'mc:container-amd64-bullseye:isar-image-base'
+ ]
+
+ self.init()
+ self.perform_build_test(targets, container=True)
+
class ReproTest(CIBaseTest):
"""
--
2.17.1
next prev parent reply other threads:[~2022-11-29 11:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-29 11:43 [PATCH v1 0/4] " Anton Mikanovich
2022-11-29 11:43 ` [PATCH v1 1/4] CI: Enable downloads dir sharing Anton Mikanovich
2022-11-29 11:43 ` [PATCH v1 2/4] CI: Add IMAGE_INSTALL override Anton Mikanovich
2022-11-29 11:43 ` Anton Mikanovich [this message]
2022-11-29 11:43 ` [PATCH v1 4/4] CI: Remove duplicated target Anton Mikanovich
2022-11-29 12:57 ` [PATCH v1 0/4] Add developers test Moessbauer, Felix
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=20221129114344.19128-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