public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH 3/4] testsuite: make repro test image type agnostic
Date: Fri, 21 Aug 2026 11:40:37 +0200	[thread overview]
Message-ID: <20260821094038.1816837-3-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20260821094038.1816837-1-felix.moessbauer@siemens.com>

The ReproBuild test already supports to parameterize the build target.
However, it always expects a build target that actually generates a
.tar.zst image (which is not the case for most targets).

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 testsuite/repro-build-test.py | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/testsuite/repro-build-test.py b/testsuite/repro-build-test.py
index eb2cb3b1..6234a8d7 100755
--- a/testsuite/repro-build-test.py
+++ b/testsuite/repro-build-test.py
@@ -51,9 +51,13 @@ class ReproBuild(CIBuilder):
 
         # Build
         self.log.info("Started Build " + image_name)
+        image_fstype = '.'.join(image_name.split('.')[1:])
         self.configure(
             targets=target,
-            source_date_epoch=source_date_epoch, use_apt_snapshot=True
+            source_date_epoch=source_date_epoch, use_apt_snapshot=True,
+            lines=[
+                f'IMAGE_FSTYPES = "{image_fstype}"',
+            ]
         )
         self.bitbake(target)
 
-- 
2.55.0

-- 
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 visit https://groups.google.com/d/msgid/isar-users/20260821094038.1816837-3-felix.moessbauer%40siemens.com.

  parent reply	other threads:[~2026-08-21  9:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-08-21  9:40 [PATCH 1/4] testsuite: allow to run all tests below testsuite in container 'Felix Moessbauer' via isar-users
2026-08-21  9:40 ` [PATCH 2/4] testsuite: fallback to diff in compare_repro_image if diffoscope is missing 'Felix Moessbauer' via isar-users
2026-08-21  9:40 ` 'Felix Moessbauer' via isar-users [this message]
2026-08-21  9:40 ` [PATCH 4/4] testsuite: check if python cache is deleted or reproducible 'Felix Moessbauer' via isar-users
2026-08-31  9:27 ` [PATCH 1/4] testsuite: allow to run all tests below testsuite in container Zhihang Wei

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=20260821094038.1816837-3-felix.moessbauer@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=felix.moessbauer@siemens.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