All of lore.kernel.org
 help / color / mirror / Atom feed
* [HELP] Issue running test cases in Qemu
@ 2026-02-27  8:03 Choon Keong Teo
  2026-02-27  8:10 ` Daniel P. Berrangé
  0 siblings, 1 reply; 5+ messages in thread
From: Choon Keong Teo @ 2026-02-27  8:03 UTC (permalink / raw)
  To: qemu-devel

Hi everyone,

I’m currently working with QEMU, and trying to run the test cases. How
can I run the single individual test file only, or a single test case
only? Thank you so much!



Best regards,
Choon Keong.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [HELP] Issue running test cases in Qemu
  2026-02-27  8:03 [HELP] Issue running test cases in Qemu Choon Keong Teo
@ 2026-02-27  8:10 ` Daniel P. Berrangé
  2026-02-27  8:34   ` Choon Keong Teo
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel P. Berrangé @ 2026-02-27  8:10 UTC (permalink / raw)
  To: Choon Keong Teo; +Cc: qemu-devel

On Fri, Feb 27, 2026 at 04:03:44PM +0800, Choon Keong Teo wrote:
> Hi everyone,
> 
> I’m currently working with QEMU, and trying to run the test cases. How
> can I run the single individual test file only, or a single test case
> only? Thank you so much!

QEMU has several different test subsystems, can you be more specific
about what you're wanting to run.

With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [HELP] Issue running test cases in Qemu
  2026-02-27  8:10 ` Daniel P. Berrangé
@ 2026-02-27  8:34   ` Choon Keong Teo
  2026-02-27  9:03     ` Daniel P. Berrangé
  0 siblings, 1 reply; 5+ messages in thread
From: Choon Keong Teo @ 2026-02-27  8:34 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: qemu-devel

Thanks for your reply. I would like to start by focusing on the unit
tests and qtests. Is there any method for running a single test file?
Thank you so much for your help!



Best regards,
Choon Keong.

On Fri, Feb 27, 2026 at 4:10 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> On Fri, Feb 27, 2026 at 04:03:44PM +0800, Choon Keong Teo wrote:
> > Hi everyone,
> >
> > I’m currently working with QEMU, and trying to run the test cases. How
> > can I run the single individual test file only, or a single test case
> > only? Thank you so much!
>
> QEMU has several different test subsystems, can you be more specific
> about what you're wanting to run.
>
> With regards,
> Daniel
> --
> |: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
> |: https://libvirt.org          ~~          https://entangle-photo.org :|
> |: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [HELP] Issue running test cases in Qemu
  2026-02-27  8:34   ` Choon Keong Teo
@ 2026-02-27  9:03     ` Daniel P. Berrangé
  2026-02-27 17:10       ` Choon Keong Teo
  0 siblings, 1 reply; 5+ messages in thread
From: Daniel P. Berrangé @ 2026-02-27  9:03 UTC (permalink / raw)
  To: Choon Keong Teo; +Cc: qemu-devel

On Fri, Feb 27, 2026 at 04:34:23PM +0800, Choon Keong Teo wrote:
> Thanks for your reply. I would like to start by focusing on the unit
> tests and qtests. Is there any method for running a single test file?
> Thank you so much for your help!

Just directly execute the binary for the test you care about in both
those cases.

For qtests you need to also set an env variable

 QTEST_QEMU_BINARY=./build/qemu-system-XXXXX

for the target you're testing.

More guidance is in docs/devel/testing/

With regards,
Daniel
-- 
|: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
|: https://libvirt.org          ~~          https://entangle-photo.org :|
|: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [HELP] Issue running test cases in Qemu
  2026-02-27  9:03     ` Daniel P. Berrangé
@ 2026-02-27 17:10       ` Choon Keong Teo
  0 siblings, 0 replies; 5+ messages in thread
From: Choon Keong Teo @ 2026-02-27 17:10 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: qemu-devel

Dear Daniel,

Thank you so much for your guidance!



Best regards,
Choon Keong.

On Fri, Feb 27, 2026 at 5:03 PM Daniel P. Berrangé <berrange@redhat.com> wrote:
>
> On Fri, Feb 27, 2026 at 04:34:23PM +0800, Choon Keong Teo wrote:
> > Thanks for your reply. I would like to start by focusing on the unit
> > tests and qtests. Is there any method for running a single test file?
> > Thank you so much for your help!
>
> Just directly execute the binary for the test you care about in both
> those cases.
>
> For qtests you need to also set an env variable
>
>  QTEST_QEMU_BINARY=./build/qemu-system-XXXXX
>
> for the target you're testing.
>
> More guidance is in docs/devel/testing/
>
> With regards,
> Daniel
> --
> |: https://berrange.com       ~~        https://hachyderm.io/@berrange :|
> |: https://libvirt.org          ~~          https://entangle-photo.org :|
> |: https://pixelfed.art/berrange   ~~    https://fstop138.berrange.com :|
>


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-02-27 17:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-27  8:03 [HELP] Issue running test cases in Qemu Choon Keong Teo
2026-02-27  8:10 ` Daniel P. Berrangé
2026-02-27  8:34   ` Choon Keong Teo
2026-02-27  9:03     ` Daniel P. Berrangé
2026-02-27 17:10       ` Choon Keong Teo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.