Received: from eggs.gnu.org ([2001:4830:134:3::10]:39564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu8RI-0005MU-Lx for qemu-devel@nongnu.org; Mon, 09 Jun 2014 18:53:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wu8RE-0002Kl-Gn for qemu-devel@nongnu.org; Mon, 09 Jun 2014 18:53:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:35721) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wu8RE-0002KX-84 for qemu-devel@nongnu.org; Mon, 09 Jun 2014 18:53:12 -0400 Date: Mon, 9 Jun 2014 19:53:06 -0300 From: Eduardo Habkost Message-ID: <20140609225306.GG17594@otherpad.lan.raisama.net> References: <1401986505-12359-1-git-send-email-mst@redhat.com> <1401986505-12359-11-git-send-email-mst@redhat.com> <20140609131036.GA5013@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140609131036.GA5013@redhat.com> Subject: Re: [Qemu-devel] [PULL 10/10] qdev: Add test of qdev_prop_check_global List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Peter Maydell , Don Slutz , QEMU Developers , Anthony Liguori , Andreas =?iso-8859-1?Q?F=E4rber?= On Mon, Jun 09, 2014 at 04:10:36PM +0300, Michael S. Tsirkin wrote: > On Mon, Jun 09, 2014 at 01:19:18PM +0100, Peter Maydell wrote: > > On 5 June 2014 18:17, Michael S. Tsirkin wrote: > > > From: Don Slutz > > > > > > This will generate a warning from "make check": > > > > > > ... > > > GTESTER tests/test-qdev-global-props > > > Warning: "-global dynamic-prop-type-bad.prop3=103" not used > > > GTESTER tests/check-qom-interface > > > ... > > > > > > If the warning is not generated, the test will fail. > > > > Isn't there some way to suppress the warning from > > the output? Ideally the 'make check' output from > > a successful run should have nothing except the > > pass/fail information... > > > > thanks > > -- PMM > > Didn't find a way but it seems better than not testing at all. This may help: https://developer.gnome.org/glib/2.37/glib-Testing.html#g-test-trap-subprocess It would also allow us to easily have a clean global_props list on each test case. -- Eduardo