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: anaumann@emlix.com, adriaan.schmidt@siemens.com,
	jan.kiszka@siemens.com, konrad.schwarz@siemens.com,
	Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH v3 4/4] add test for mixed arch all arch any packages
Date: Wed,  6 May 2026 14:19:31 +0200	[thread overview]
Message-ID: <20260506121931.4167983-5-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20260506121931.4167983-1-felix.moessbauer@siemens.com>

This test checks the fixup of the PROVIDES and DEPENDS logic
on mixed architecture all and architecture any packages.

Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
 meta-test/recipes-app/test-all-any/files/control | 16 ++++++++++++++++
 .../recipes-app/test-all-any/test-all-any.bb     | 13 +++++++++++++
 testsuite/citest.py                              |  3 ++-
 3 files changed, 31 insertions(+), 1 deletion(-)
 create mode 100644 meta-test/recipes-app/test-all-any/files/control
 create mode 100644 meta-test/recipes-app/test-all-any/test-all-any.bb

diff --git a/meta-test/recipes-app/test-all-any/files/control b/meta-test/recipes-app/test-all-any/files/control
new file mode 100644
index 00000000..fc2bae7c
--- /dev/null
+++ b/meta-test/recipes-app/test-all-any/files/control
@@ -0,0 +1,16 @@
+Source: test-all-any
+Section: misc
+Priority: optional
+Maintainer: isar-users <isar-users@googlegroups.com>
+Build-Depends: debhelper-compat (= 10),
+Standards-Version: 4.1.3
+
+Package: test-all-any
+Architecture: any
+Description: Architecture specific test package
+ This is an architecture specific test package.
+
+Package: test-all-any-doc
+Architecture: all
+Description: Architecture independent test package
+ This is an architecture independent test package.
diff --git a/meta-test/recipes-app/test-all-any/test-all-any.bb b/meta-test/recipes-app/test-all-any/test-all-any.bb
new file mode 100644
index 00000000..0f1b0dbd
--- /dev/null
+++ b/meta-test/recipes-app/test-all-any/test-all-any.bb
@@ -0,0 +1,13 @@
+# test package generating both arch=all and arch=any binary packages
+DPKG_ARCH = "any"
+SRC_URI = "file://control"
+
+MAINTAINER = "isar-users <isar-users@googlegroups.com>"
+
+inherit dpkg-raw
+
+PROVIDES += "test-all-any-doc-archall"
+
+do_prepare_build:append() {
+    cp ${WORKDIR}/control ${S}/debian/
+}
diff --git a/testsuite/citest.py b/testsuite/citest.py
index b3866675..51bd7f49 100755
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -412,8 +412,9 @@ class CrossTest(CIBaseTest):
         lines = [f"IMAGER_BUILD_DEPS:append = ' test-all-depnocross-native'"]
 
         self.init()
+        image_install = 'test-all-deponlycross test-all-any-doc'
         self.perform_build_test(targets, lines=lines,
-                                image_install='test-all-deponlycross')
+                                image_install=image_install)
 
     def test_cross_mira_trixie(self):
         targets = [
-- 
2.53.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/20260506121931.4167983-5-felix.moessbauer%40siemens.com.

      parent reply	other threads:[~2026-05-06 12:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-05-06 12:19 [PATCH v3 0/4] Only build arch=all package from -native variant 'Felix Moessbauer' via isar-users
2026-05-06 12:19 ` [PATCH v3 1/4] mark cowsay package as architecture all 'Felix Moessbauer' via isar-users
2026-05-06 12:19 ` [PATCH v3 2/4] sbuild: do not build arch all packages on cross 'Felix Moessbauer' via isar-users
2026-05-06 12:19 ` [PATCH v3 3/4] Revert "Split up isar-apt into distro-arch specific instances" 'Felix Moessbauer' via isar-users
2026-05-06 12:19 ` 'Felix Moessbauer' via isar-users [this message]

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=20260506121931.4167983-5-felix.moessbauer@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=adriaan.schmidt@siemens.com \
    --cc=anaumann@emlix.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=jan.kiszka@siemens.com \
    --cc=konrad.schwarz@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