qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PULL 10/10] qdev: Add test of qdev_prop_check_global


From: Eduardo Habkost
Subject: Re: [Qemu-devel] [PULL 10/10] qdev: Add test of qdev_prop_check_global
Date: Mon, 9 Jun 2014 19:53:06 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

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 <address@hidden> wrote:
> > > From: Don Slutz <address@hidden>
> > >
> > > 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]