mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@barebox.org>
To: barebox@lists.infradead.org
Cc: Jonas Rebmann <jre@pengutronix.de>, Ahmad Fatoum <a.fatoum@barebox.org>
Subject: [PATCH 3/4] ci: pytest: multi_v8_defconfig: pass --runxfail
Date: Thu, 12 Jun 2025 10:56:02 +0200	[thread overview]
Message-ID: <20250612085603.4190573-4-a.fatoum@barebox.org> (raw)
In-Reply-To: <20250612085603.4190573-1-a.fatoum@barebox.org>

We currently use xfail in test_network.py to skip the network tests if
the networking feature is not enabled. For ARMv8, the CI sets up
networking and the feature is set, so pass it --runxfail, so unintended
xfails don't creep in.

Cc: Jonas Rebmann <jre@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@barebox.org>
---
 .github/workflows/test-labgrid-pytest.yml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/test-labgrid-pytest.yml b/.github/workflows/test-labgrid-pytest.yml
index 64618582a940..38bd7126bd86 100644
--- a/.github/workflows/test-labgrid-pytest.yml
+++ b/.github/workflows/test-labgrid-pytest.yml
@@ -26,6 +26,7 @@ jobs:
           - ARCH: arm
             lgenv: test/arm/multi_v8_defconfig.yaml
             defconfig: multi_v8_defconfig
+            lgargs: --runxfail
 
           - ARCH: mips
             lgenv: test/mips/qemu-malta_defconfig.yaml
@@ -101,8 +102,9 @@ jobs:
         for i in ${{matrix.lgenv}}; do
           grep -wq '\(QEMUDriver\|ExternalConsoleDriver\):' "$i" || continue
 
+          extraargs="${{matrix.lgargs}}"
           if grep -wq 'testfs' "$i"; then
-            extraargs="--fs testfs=${KBUILD_OUTPUT}/testfs"
+            extraargs="${extraargs} --fs testfs=${KBUILD_OUTPUT}/testfs"
           fi
 
           cfg=$(basename $i .yaml)
-- 
2.39.5




  parent reply	other threads:[~2025-06-12 10:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-12  8:55 [PATCH 0/4] test: py: add FIT image boot test Ahmad Fatoum
2025-06-12  8:56 ` [PATCH 1/4] ci: pytest: mount virtfs with signed FIT image into VMs Ahmad Fatoum
2025-06-12  8:56 ` [PATCH 2/4] test: py: add FIT boot test Ahmad Fatoum
2025-06-12  8:56 ` Ahmad Fatoum [this message]
2025-06-12  8:56 ` [PATCH 4/4] ci: container: add device-tree-compiler Ahmad Fatoum
2025-06-17  7:29 ` [PATCH 0/4] test: py: add FIT image boot test Sascha Hauer

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=20250612085603.4190573-4-a.fatoum@barebox.org \
    --to=a.fatoum@barebox.org \
    --cc=barebox@lists.infradead.org \
    --cc=jre@pengutronix.de \
    /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