Received: from eggs.gnu.org ([2001:4830:134:3::10]:51024) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgDg1-0000Q3-Vb for qemu-devel@nongnu.org; Fri, 02 May 2014 09:39:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WgDft-0006RM-Ar for qemu-devel@nongnu.org; Fri, 02 May 2014 09:38:57 -0400 Received: from roura.ac.upc.es ([147.83.33.10]:60904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WgDfs-0006Qv-VJ for qemu-devel@nongnu.org; Fri, 02 May 2014 09:38:49 -0400 From: =?utf-8?Q?Llu=C3=ADs_Vilanova?= References: <20140430190928.7884.69380.stgit@fimbulvetr.bsc.es> <20140430190951.7884.90848.stgit@fimbulvetr.bsc.es> <5362424F.2040603@redhat.com> <87bnvgcr4o.fsf@fimbulvetr.bsc.es> <53638E5E.9010000@redhat.com> Date: Fri, 02 May 2014 15:38:45 +0200 In-Reply-To: <53638E5E.9010000@redhat.com> (Eric Blake's message of "Fri, 02 May 2014 06:23:58 -0600") Message-ID: <87siosb8re.fsf@fimbulvetr.bsc.es> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v10 4/4] qapi: Add a primitive to include other files from a QAPI schema file List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Eric Blake Cc: =?utf-8?Q?Beno=C3=AEt?= Canet , Markus Armbruster , qemu-devel@nongnu.org, Luiz Capitulino Eric Blake writes: > On 05/02/2014 06:16 AM, Llu=C3=ADs Vilanova wrote: >>>> +++ b/tests/qapi-schema/include-after-err.json >>>> @@ -0,0 +1,2 @@ >>>> +{ 'include': 'include-simple-sub.json' } >>>> +{ 'command' 'missing-colon' } >>=20 >>> 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. >>=20 >>> It's not a showstopper (I could live with v10 going into the tree), so: >>=20 >>> Reviewed-by: Eric Blake >>=20 >>> 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. >>=20 >> Right, I forgot to comment on this change. I did not want to change the = name >> because right now all tests start with "include-", which makes it simple= to spot >> them on a directory list. > Then name it include-before-err.json Ok, then I'll resend a trivial v11 with this rename and the line breaking changes. Lluis --=20 "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth