Received: from eggs.gnu.org ([2001:4830:134:3::10]:60368) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMCT-00018g-A4 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:10:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGMCP-0000WE-12 for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:10:52 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60660) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGMCO-0000W8-Qt for qemu-devel@nongnu.org; Fri, 24 Jun 2016 04:10:48 -0400 From: Markus Armbruster References: <1466698330-6021-1-git-send-email-armbru@redhat.com> <1466698330-6021-3-git-send-email-armbru@redhat.com> <4f898d1e-3f0e-378b-46ed-3ed167cb636b@redhat.com> Date: Fri, 24 Jun 2016 10:10:46 +0200 In-Reply-To: (Peter Maydell's message of "Thu, 23 Jun 2016 17:47:56 +0100") Message-ID: <871t3nypkp.fsf@dusky.pond.sub.org> MIME-Version: 1.0 Content-Type: text/plain Subject: Re: [Qemu-devel] [PATCH RFC 2/5] tests: New make target check-headers List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Paolo Bonzini , "Michael S. Tsirkin" , QEMU Developers Peter Maydell writes: > On 23 June 2016 at 17:40, Paolo Bonzini wrote: >> On 23/06/2016 18:12, Markus Armbruster wrote: >>> For each header "FOO.h", the test checks whether >>> >>> #include "qemu/osdep.h" >>> #include "FOO.h" >>> #include "FOO.h" >>> >>> compiles. A large number of headers don't pass this test, by design >>> or by accident. These are all excluded with a blacklist for now. Add >>> make target check-blacklisted-headers to help with examinating how >>> they fail. >> >> Can we replace the blacklist with a fixed-format /* FIXME */ comment? Great idea, will do! > Ooh. I was going to suggest moving the blacklist into its own > file, but a magic comment is a better idea, less chance of > merge conflicts. > > Rather than listing "check-headers" specifically in the help, > I suggest we have a more generic "check-source" for running > code style/etc checks on the sources (of which check-headers > is the only one at first). Then we have a good place to put > new style type checks in future without requiring everybody > to change the command lines they're using to invoke them. Sure.