* [PATCH] ci: Place WicTest before NoCrossTest
@ 2022-10-14 6:41 Uladzimir Bely
2022-10-19 8:02 ` Anton Mikanovich
0 siblings, 1 reply; 2+ messages in thread
From: Uladzimir Bely @ 2022-10-14 6:41 UTC (permalink / raw)
To: isar-users
This patch just changes an execution sequence of tests in CI.
The issue is that WicTests removes `tmp` contents and we worsen
possibilities to analyze build errors that could happen in
the earlier tests.
Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
---
testsuite/citest.py | 46 ++++++++++++++++++++++-----------------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/testsuite/citest.py b/testsuite/citest.py
index fa036c4f..448e866e 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -126,6 +126,29 @@ class SdkTest(CIBaseTest):
self.init()
self.perform_build_test(targets, bitbake_cmd='do_populate_sdk')
+class WicTest(CIBaseTest):
+
+ """
+ Test creation of wic images
+
+ :avocado: tags=wic,full
+ """
+ def test_wic_nodeploy_partitions(self):
+ targets = ['mc:qemuarm64-bookworm:isar-image-base']
+
+ self.init()
+ self.delete_from_build_dir('tmp')
+ self.perform_wic_partition_test(targets,
+ wic_deploy_parts=False, debsrc_cache=True, compat_arch=False)
+
+ def test_wic_deploy_partitions(self):
+ targets = ['mc:qemuarm64-bookworm:isar-image-base']
+
+ self.init()
+ # reuse artifacts
+ self.perform_wic_partition_test(targets,
+ wic_deploy_parts=True, debsrc_cache=True, compat_arch=False)
+
class NoCrossTest(CIBaseTest):
"""
@@ -319,26 +342,3 @@ class VmBootTestFull(CIBaseTest):
def test_amd64_focal(self):
self.init()
self.vm_start('amd64','focal')
-
-class WicTest(CIBaseTest):
-
- """
- Test creation of wic images
-
- :avocado: tags=wic,full
- """
- def test_wic_nodeploy_partitions(self):
- targets = ['mc:qemuarm64-bookworm:isar-image-base']
-
- self.init()
- self.delete_from_build_dir('tmp')
- self.perform_wic_partition_test(targets,
- wic_deploy_parts=False, debsrc_cache=True, compat_arch=False)
-
- def test_wic_deploy_partitions(self):
- targets = ['mc:qemuarm64-bookworm:isar-image-base']
-
- self.init()
- # reuse artifacts
- self.perform_wic_partition_test(targets,
- wic_deploy_parts=True, debsrc_cache=True, compat_arch=False)
--
2.20.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] ci: Place WicTest before NoCrossTest
2022-10-14 6:41 [PATCH] ci: Place WicTest before NoCrossTest Uladzimir Bely
@ 2022-10-19 8:02 ` Anton Mikanovich
0 siblings, 0 replies; 2+ messages in thread
From: Anton Mikanovich @ 2022-10-19 8:02 UTC (permalink / raw)
To: Uladzimir Bely, isar-users
14.10.2022 09:41, Uladzimir Bely wrote:
> This patch just changes an execution sequence of tests in CI.
>
> The issue is that WicTests removes `tmp` contents and we worsen
> possibilities to analyze build errors that could happen in
> the earlier tests.
>
> Signed-off-by: Uladzimir Bely <ubely@ilbers.de>
Applied to next, thanks.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-19 8:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-14 6:41 [PATCH] ci: Place WicTest before NoCrossTest Uladzimir Bely
2022-10-19 8:02 ` Anton Mikanovich
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox