qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Hajnoczi <stefanha@redhat.com>
To: Leandro Dorileo <l@dorileo.org>
Cc: "Kevin Wolf" <kwolf@redhat.com>,
	"Wenchao Xia" <wenchaoqemu@gmail.com>,
	qemu-devel@nongnu.org, "Markus Armbruster" <armbru@redhat.com>,
	"Chunyan Liu" <cyliu@suse.com>,
	"Anthony Liguori" <anthony@codemonkey.ws>,
	"Luiz Capitulino" <lcapitulino@redhat.com>,
	"Andreas Färber" <afaerber@suse.de>
Subject: Re: [Qemu-devel] [PATCH v4] QemuOpt: add unit tests
Date: Tue, 20 May 2014 15:21:32 +0200	[thread overview]
Message-ID: <20140520132132.GC22753@stefanha-thinkpad.redhat.com> (raw)
In-Reply-To: <1400536435-13683-1-git-send-email-l@dorileo.org>

On Mon, May 19, 2014 at 06:53:55PM -0300, Leandro Dorileo wrote:
> Cover basic aspects and API usage for QemuOpt. The current implementation
> covers the API's planned to be changed by Chunyan Liu in his QEMUOptionParameter
> replacement/cleanup job.
> 
> Other APIs should be covered in future improvements.
> 
> Signed-off-by: Leandro Dorileo <l@dorileo.org>
> ---
> 
> Notes:
>     V4:
>       + call register_opts() only once (pointed by Stefan);
>     
>     V3:
>       + fix a typo (s/dinamically/dynamically/);
>     
>     V2:
>       + fixed comments;
>       + make use of g_assert_cmpstr();
>       + use error_abort instead of a local_err for qemu_opts_absorb_qdict();
>       + asserts on QemuOptsList (empty and list name);
>       + added test_qemu_opt_unset();
>       + asserts on qemu_opt_*_set() return;
>       + added test_qemu_opts_reset();
>       + added test_qemu_opts_set();
> 
>  tests/Makefile         |   3 +
>  tests/test-qemu-opts.c | 438 +++++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 441 insertions(+)
>  create mode 100644 tests/test-qemu-opts.c

Great, thanks for writing this test case.  It's good to have this here
before applying Chunyan's patches.

Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block

Stefan

      reply	other threads:[~2014-05-20 13:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-05-19 21:53 [Qemu-devel] [PATCH v4] QemuOpt: add unit tests Leandro Dorileo
2014-05-20 13:21 ` Stefan Hajnoczi [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=20140520132132.GC22753@stefanha-thinkpad.redhat.com \
    --to=stefanha@redhat.com \
    --cc=afaerber@suse.de \
    --cc=anthony@codemonkey.ws \
    --cc=armbru@redhat.com \
    --cc=cyliu@suse.com \
    --cc=kwolf@redhat.com \
    --cc=l@dorileo.org \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=wenchaoqemu@gmail.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;
as well as URLs for NNTP newsgroup(s).