Received: from eggs.gnu.org ([2001:4830:134:3::10]:35670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD8tf-0003ea-SP for qemu-devel@nongnu.org; Tue, 11 Feb 2014 03:40:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WD8tb-00023B-Md for qemu-devel@nongnu.org; Tue, 11 Feb 2014 03:40:51 -0500 Received: from mx1.redhat.com ([209.132.183.28]:21468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WD8tb-000235-Eq for qemu-devel@nongnu.org; Tue, 11 Feb 2014 03:40:47 -0500 From: Markus Armbruster References: <20140210195816.3495.74530.stgit@fimbulvetr.bsc.es> Date: Tue, 11 Feb 2014 09:40:40 +0100 In-Reply-To: <20140210195816.3495.74530.stgit@fimbulvetr.bsc.es> (=?utf-8?Q?=22Llu=C3=ADs?= Vilanova"'s message of "Mon, 10 Feb 2014 20:58:17 +0100") Message-ID: <87r47at52v.fsf@blackfin.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v2 0/2] qapi: Allow modularization of QAPI schema files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?utf-8?Q?Llu=C3=ADs?= Vilanova Cc: qemu-devel@nongnu.org, Luiz Capitulino Llu=C3=ADs Vilanova writes: > Adds the "include(...)" primitive to the syntax of QAPI schema files, all= owing > these to be modularized into multiple per-topic files in the future. > > Signed-off-by: Llu=C3=ADs Vilanova > --- > > Changes in v2: > > * Change the scripts to use an explicit input file instead of standard in= put. > * Fix "tests/Makefile" to use the new argument. > * Get the input directory for the "include" directive from the input file > dirname. > > > Llu=C3=ADs Vilanova (2): > qapi: Use an explicit input file > qapi: Add a primitive to include other files from a QAPI schema file > > > Makefile | 24 ++++++++++++++++++------ > scripts/qapi-commands.py | 10 +++++++--- > scripts/qapi-types.py | 9 ++++++--- > scripts/qapi-visit.py | 9 ++++++--- > scripts/qapi.py | 26 +++++++++++++++++++++++--- > tests/Makefile | 12 +++++++++--- > 6 files changed, 69 insertions(+), 21 deletions(-) Diffstat shows that you forgot to include the tests :) Suggest to rebase on top of my "[PATCH v2 00/13] qapi: Test coverage & clean up generated code", then add suitable tests to tests/qapi-schema/. Make sure to cover reporting of errors in included files.