[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
- [Qemu-devel] [PULL 01/10] serial-pci: Set prog interface field of pci config to 16550 compatible, (continued)
- [Qemu-devel] [PULL 01/10] serial-pci: Set prog interface field of pci config to 16550 compatible, Michael S. Tsirkin, 2014/06/05
- [Qemu-devel] [PULL 03/10] SMBIOS: Update Type 0 struct generator for machines >= 2.1, Michael S. Tsirkin, 2014/06/05
- [Qemu-devel] [PULL 04/10] SMBIOS: Fix type 17 field sizes, Michael S. Tsirkin, 2014/06/05
- [Qemu-devel] [PULL 05/10] pcie_host: Turn pcie_host_init() into an instance_init, Michael S. Tsirkin, 2014/06/05
- [Qemu-devel] [PULL 06/10] virtio-balloon: return empty data when no stats are available, Michael S. Tsirkin, 2014/06/05
- [Qemu-devel] [PULL 07/10] tests: rename acpi-test to bios-tables-test, Michael S. Tsirkin, 2014/06/05
- [Qemu-devel] [PULL 09/10] qdev: Display warning about unused -global, Michael S. Tsirkin, 2014/06/05
- [Qemu-devel] [PULL 10/10] qdev: Add test of qdev_prop_check_global, Michael S. Tsirkin, 2014/06/05
- [Qemu-devel] [PULL 08/10] tests: add smbios testing, Michael S. Tsirkin, 2014/06/05
- Re: [Qemu-devel] [PULL 00/10] pc,pci,virtio,qdev fixes, tests, Peter Maydell, 2014/06/05