]> xenbits.xensource.com Git - libvirt.git/commit
tests: check remaining .x files
authorEric Blake <eblake@redhat.com>
Sat, 7 Sep 2013 21:22:18 +0000 (15:22 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 9 Sep 2013 18:04:03 +0000 (12:04 -0600)
commite561951d8484a5735768592dd8d2d6cd0f83fd72
treefe3c5b0b94df7f9d72cb979d35982bae6536d406
parent012c25e88c6cfa114ee7656c5f9678f1a488d26d
tests: check remaining .x files

We have been adding new .x files without keeping the list of
*-structs files up-to-date.  This adds the support for the
recent additions.

In the process of testing this, I also noticed that Fedora 19's
use of dwarves-1.10 (providing pdwtags version 1.9) was producing
a single line on stderr but still giving enough useful info on
stdout that we could check structs; the real goal of checking
stderr separately from stdout was to avoid the bug in dwarves-1.9
where stdout was empty (see bug http://bugzilla.redhat.com/772358).

* src/Makefile.am (struct_prefix, PROTOCOL_STRUCTS): Add missing
struct tests.
(PDWTAGS): Work with Fedora 19 pdwtags.
(lxc_monitor_protocol-struct, lock_protocol-struct): New rules.
* src/lxc_monitor_protocol-structs: New file.
* src/lock_protocol-structs): Likewise.
* cfg.mk (generated_files): Enlarge list.

Signed-off-by: Eric Blake <eblake@redhat.com>
cfg.mk
src/Makefile.am
src/lock_protocol-structs [new file with mode: 0644]
src/lxc_monitor_protocol-structs [new file with mode: 0644]