mail archive of the barebox mailing list
 help / color / mirror / Atom feed
From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: Ahmad Fatoum <a.fatoum@pengutronix.de>,
	BAREBOX <barebox@lists.infradead.org>
Subject: Re: [PATCH] fixup! test: add --bootarg option when running under QEMU
Date: Wed, 6 Aug 2025 18:32:58 +0200	[thread overview]
Message-ID: <7eaf6bd4-5161-4caa-9d5f-29b36d2c2325@pengutronix.de> (raw)
In-Reply-To: <20250806163034.3231943-1-a.fatoum@pengutronix.de>

Please dismiss this one. Fixup is for wrong commit.
Correct one just sent out.

On 8/6/25 18:30, Ahmad Fatoum wrote:
> test: qemu: pass -nographic in the default case.
> 
> Otherwise, we end up with an error message if the default is to use a
> graphic backend.
> 
> Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
> ---
>  conftest.py | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/conftest.py b/conftest.py
> index 45e8835924b3..e8de5952efb4 100644
> --- a/conftest.py
> +++ b/conftest.py
> @@ -116,9 +116,10 @@ def strategy(request, target, pytestconfig):
>          else:
>              pytest.exit("barebox currently supports only a single extra virtio console\n", 1)
>  
> -    graphics = None
> -    if pytestconfig.option.qemu_graphics:
> -        if qemu_bin == "qemu-system-x86_64":
> +    if qemu_bin is not None:
> +        if not pytestconfig.option.qemu_graphics:
> +            graphics = '-nographic'
> +        elif qemu_bin == "qemu-system-x86_64":
>              graphics = '-device isa-vga'
>          elif 'pci' in features:
>              graphics = '-device VGA'

-- 
Pengutronix e.K.                  |                             |
Steuerwalder Str. 21              | http://www.pengutronix.de/  |
31137 Hildesheim, Germany         | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |




      reply	other threads:[~2025-08-06 16:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-06 16:30 Ahmad Fatoum
2025-08-06 16:32 ` Ahmad Fatoum [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=7eaf6bd4-5161-4caa-9d5f-29b36d2c2325@pengutronix.de \
    --to=a.fatoum@pengutronix.de \
    --cc=barebox@lists.infradead.org \
    /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