Received: from eggs.gnu.org ([2001:4830:134:3::10]:35953) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmV92-0003zD-LH for qemu-devel@nongnu.org; Mon, 19 May 2014 17:30:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WmV8w-0006FG-Id for qemu-devel@nongnu.org; Mon, 19 May 2014 17:30:52 -0400 Received: from mail-yh0-f54.google.com ([209.85.213.54]:56145) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WmV8w-0006F0-C8 for qemu-devel@nongnu.org; Mon, 19 May 2014 17:30:46 -0400 Received: by mail-yh0-f54.google.com with SMTP id i57so7327392yha.41 for ; Mon, 19 May 2014 14:30:45 -0700 (PDT) Date: Mon, 19 May 2014 18:31:02 -0300 From: Leandro Dorileo Message-ID: <20140519213102.GB2051@dorilex-lnv.MultilaserAP> References: <1395754039-1849-1-git-send-email-l@dorileo.org> <20140428185502.GA6934@dorilex> <535EA5B4.1080301@suse.de> <20140428211704.GA12444@dorilex> <8738gvp6fp.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8738gvp6fp.fsf@blackfin.pond.sub.org> Subject: Re: [Qemu-devel] [PATCH v3] QemuOpt: add unit tests List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Markus Armbruster Cc: Kevin Wolf , Wenchao Xia , Stefan Hajnoczi , Chunyan Liu , qemu-devel@nongnu.org, Anthony Liguori , Luiz Capitulino , Andreas =?iso-8859-1?Q?F=E4rber?= On Wed, Apr 30, 2014 at 10:28:26AM +0200, Markus Armbruster wrote: > Leandro Dorileo writes: > > > Hi Andreas, > > > > On Mon, Apr 28, 2014 at 09:02:12PM +0200, Andreas Färber wrote: > >> Am 28.04.2014 20:55, schrieb Leandro Dorileo: > >> > ping? > >> > > >> > > >> > On Tue, Mar 25, 2014 at 10:27:19AM -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 > >> >> Reviewed-by: Eric Blake > >> >> --- > >> >> tests/Makefile | 3 + > >> >> tests/test-qemu-opts.c | 455 > >> >> +++++++++++++++++++++++++++++++++++++++++++++++++ > >> >> 2 files changed, 458 insertions(+) > >> >> create mode 100644 tests/test-qemu-opts.c > >> > >> I don't spot any test API or style issues; not familiar enough with > >> QemuOpts to judge the tests though. > > > > What maintainer would best suite to route this patch? > > MAINTAINERS doesn't cover it. In the past year, patches went in via > Anthony, Kevin, Luiz, or Stefan Hajnoczi. I'm cc'ing the ones from this > list you missed. Ok. > > I read your patch. There's some redundant testing, some comments feel > superfluous, and there's a spelling mistake or two. Coverage is far > from perfect (QemuOpts has become ridiculously complex), but infinitely > better than before :) > Redundant testing don't seem to be a problem in this case, the comments are intentionally verbose. My spell checker doesn't spot any spelling error - besides "defval" :) > Let's take it as is. I'm respining the patch changing what Stefan suggested. Thanks... -- Leandro Dorileo