qdev: Add test of qdev_prop_check_global
commit711e2f1e9ecad845e142fdddbbf1e8037bce902b
authorDon Slutz <dslutz@verizon.com>
Mon, 5 May 2014 18:03:07 +0000 (5 14:03 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 5 Jun 2014 16:20:38 +0000 (5 19:20 +0300)
tree117c9cf88ac59cafc20f747e6c3e1e1adfda4cad
parent9f9260a3be3b7fbd0006a58773abdb164bf9f220
qdev: Add test of qdev_prop_check_global

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.

Signed-off-by: Don Slutz <dslutz@verizon.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
tests/test-qdev-global-props.c