qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DISCUSSION] Running one qtest test: how?


From: Peter Maydell
Subject: Re: [DISCUSSION] Running one qtest test: how?
Date: Thu, 26 Nov 2020 10:08:43 +0000

On Wed, 25 Nov 2020 at 23:41, Doug Evans <dje@google.com> wrote:
> I can run a subset of qtest tests with "make check-qtest-TARGET", but that's 
> the limit of the granularity that I can find. Why would one want more 
> granularity? When adding a test one wants the edit/test cycle as short as 
> possible and needlessly running other tests is a pain.
>
> It'd be really nice to be able to specify one test via make check. I realize 
> I can pass V=1 and get some help to dig further.

> Am I missing something? What do others do when adding a test?

I just follow the approach outlined in:
https://wiki.qemu.org/Features/QTest
 -- use V=1 to fish out the relevant commandline, and then
if necessary narrow it down further with -p.
I agree it might be nice if there were better support in
the build system for doing this more automatically.

thanks
-- PMM



reply via email to

[Prev in Thread] Current Thread [Next in Thread]