From: "'Felix Moessbauer' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: jan.kiszka@siemens.com, akarpovich@ilbers.de,
Felix Moessbauer <felix.moessbauer@siemens.com>
Subject: [PATCH 3/3] testsuite: check propagation of archall to deps on native
Date: Thu, 30 Jul 2026 13:11:06 +0200 [thread overview]
Message-ID: <20260730111106.1223399-4-felix.moessbauer@siemens.com> (raw)
In-Reply-To: <20260730111106.1223399-1-felix.moessbauer@siemens.com>
Signed-off-by: Felix Moessbauer <felix.moessbauer@siemens.com>
---
.../recipes-app/test-all-depnative/files/rules | 11 +++++++++++
.../test-all-depnative/test-all-depnative.bb | 13 +++++++++++++
testsuite/citest.py | 13 +++++++++++++
3 files changed, 37 insertions(+)
create mode 100644 meta-test/recipes-app/test-all-depnative/files/rules
create mode 100644 meta-test/recipes-app/test-all-depnative/test-all-depnative.bb
diff --git a/meta-test/recipes-app/test-all-depnative/files/rules b/meta-test/recipes-app/test-all-depnative/files/rules
new file mode 100644
index 00000000..6640cf23
--- /dev/null
+++ b/meta-test/recipes-app/test-all-depnative/files/rules
@@ -0,0 +1,11 @@
+#!/usr/bin/make -f
+%:
+ dh \$@
+
+# Detect cross-compilation and fail if so
+override_dh_auto_configure:
+ @if [ "$(DEB_BUILD_ARCH)" != "$(DEB_HOST_ARCH)" ]; then \
+ echo "Cross-compilation detected! This is an \"all\" package."; \
+ exit 1; \
+ fi
+ dh_auto_configure
diff --git a/meta-test/recipes-app/test-all-depnative/test-all-depnative.bb b/meta-test/recipes-app/test-all-depnative/test-all-depnative.bb
new file mode 100644
index 00000000..328d79f9
--- /dev/null
+++ b/meta-test/recipes-app/test-all-depnative/test-all-depnative.bb
@@ -0,0 +1,13 @@
+# Test all package depending on an arch=all package provided via -archall.
+
+SRC_URI = "file://rules"
+
+inherit dpkg-raw
+
+MAINTAINER = "isar-users <isar-users@googlegroups.com>"
+
+DEPENDS = "test-all-any-doc"
+
+do_install() {
+ bbnote "Test \"all\" package depending on an arch=all (-archall) package."
+}
diff --git a/testsuite/citest.py b/testsuite/citest.py
index a4f15d04..a600ade9 100644
--- a/testsuite/citest.py
+++ b/testsuite/citest.py
@@ -472,6 +472,19 @@ class CrossTest(CIBaseTest):
self.perform_build_test(targets, lines=lines,
image_install=image_install)
+ def test_native_dependencies(self):
+ targets = [
+ 'mc:qemuamd64-trixie:isar-image-ci',
+ ]
+
+ self.init()
+ image_install = 'test-all-depnative'
+ self.perform_build_test(
+ targets,
+ image_install=image_install,
+ bitbake_extra_args=["-c", "rootfs_install"]
+ )
+
def test_cross_riscv64(self):
"""
:avocado: tags=riscv64
--
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/20260730111106.1223399-4-felix.moessbauer%40siemens.com.
prev parent reply other threads:[~2026-07-30 11:11 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 11:11 [PATCH 0/3] Fixes for complex multiarch dependency propagation 'Felix Moessbauer' via isar-users
2026-07-30 11:11 ` [PATCH 1/3] fix(rootfs): copy isar-apt packages instead of downloading 'Felix Moessbauer' via isar-users
2026-07-30 11:11 ` [PATCH 2/3] fix: redirect archall dependency to native provider on non cross builds 'Felix Moessbauer' via isar-users
2026-07-30 11:11 ` '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=20260730111106.1223399-4-felix.moessbauer@siemens.com \
--to=isar-users@googlegroups.com \
--cc=akarpovich@ilbers.de \
--cc=felix.moessbauer@siemens.com \
--cc=jan.kiszka@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