Re: [Qemu-devel] [PATCH v5 15/28] qapi: Add tests of redefined expressions

2015-03-26 Thread Markus Armbruster
Eric Blake writes: > Demonstrate that the qapi generator doesn't deal very well with > redefined expressions. At the parse level, they are silently > accepted; and while the testsuite just stops at parsing, I've > further tested that many of them cause generator crashes or > invalid C code if th

[Qemu-devel] [PATCH v5 15/28] qapi: Add tests of redefined expressions

2015-03-24 Thread Eric Blake
Demonstrate that the qapi generator doesn't deal very well with redefined expressions. At the parse level, they are silently accepted; and while the testsuite just stops at parsing, I've further tested that many of them cause generator crashes or invalid C code if they were appended to qapi-schema