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 <[email protected]> wrote: > > > From: Don Slutz <[email protected]> > > > > > > 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
