All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eric Blake <eblake@redhat.com>
To: "Lluís Vilanova" <vilanova@ac.upc.edu>, qemu-devel@nongnu.org
Cc: "Benoît Canet" <benoit.canet@irqsave.net>,
	"Markus Armbruster" <armbru@redhat.com>,
	"Luiz Capitulino" <lcapitulino@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v10 4/4] qapi: Add a primitive to include other files from a QAPI schema file
Date: Thu, 01 May 2014 06:47:11 -0600	[thread overview]
Message-ID: <5362424F.2040603@redhat.com> (raw)
In-Reply-To: <20140430190951.7884.90848.stgit@fimbulvetr.bsc.es>

[-- Attachment #1: Type: text/plain, Size: 1122 bytes --]

On 04/30/2014 01:09 PM, Lluís Vilanova wrote:
> The primitive uses JSON syntax, and include paths are relative to the file using the directive:
> 
>   { 'include': 'path/to/file.json' }
> 
> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
> ---

> +++ b/tests/qapi-schema/include-after-err.json
> @@ -0,0 +1,2 @@
> +{ 'include': 'include-simple-sub.json' }
> +{ 'command' 'missing-colon' }

In v9, Markus pointed out that 'include-after-err' is the wrong name for
this test - you are testing that an error after include is detected
correctly, and not the behavior of an error after an include.

It's not a showstopper (I could live with v10 going into the tree), so:

Reviewed-by: Eric Blake <eblake@redhat.com>

But if you want to spin a v11, then rename the related files and the
Makefile rules to run the new name.  As a rename is trivially testable
by 'make check' still passing, then if that's the only change you make,
I'm still okay if you keep my R-b in your v11 message.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]

  parent reply	other threads:[~2014-05-01 12:47 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20140430190928.7884.69380.stgit@fimbulvetr.bsc.es>
     [not found] ` <20140430190934.7884.19499.stgit@fimbulvetr.bsc.es>
2014-05-01 12:34   ` [Qemu-devel] [PATCH v10 1/4] qapi: [trivial] Break long command lines Eric Blake
2014-05-02 12:18     ` Lluís Vilanova
     [not found] ` <20140430190946.7884.46553.stgit@fimbulvetr.bsc.es>
2014-05-01 12:37   ` [Qemu-devel] [PATCH v10 3/4] qapi: Use an explicit input file Eric Blake
2014-05-02 12:17     ` Lluís Vilanova
     [not found] ` <20140430190951.7884.90848.stgit@fimbulvetr.bsc.es>
2014-05-01 12:47   ` Eric Blake [this message]
2014-05-02 12:16     ` [Qemu-devel] [PATCH v10 4/4] qapi: Add a primitive to include other files from a QAPI schema file Lluís Vilanova
2014-05-02 12:23       ` Eric Blake
2014-05-02 13:38         ` Lluís Vilanova
2014-05-02  8:06 ` [Qemu-devel] [PATCH v10 0/4] qapi: Allow modularization of QAPI schema files Markus Armbruster

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=5362424F.2040603@redhat.com \
    --to=eblake@redhat.com \
    --cc=armbru@redhat.com \
    --cc=benoit.canet@irqsave.net \
    --cc=lcapitulino@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=vilanova@ac.upc.edu \
    /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 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.