[libvirt] [PATCHv4 15/15] m4: Introduce STABLE_ORDERING_JANSSON

Peter Krempa pkrempa at redhat.com
Wed Jul 18 15:14:50 UTC 2018


On Wed, Jul 18, 2018 at 16:44:40 +0200, Ján Tomko wrote:
> Add a second check for Jansson >= 2.8, which includes
> fixes to preserve ordering of object keys.
> 
> Use this constant to guard tests that depend on stable ordering.
> 
> Signed-off-by: Ján Tomko <jtomko at redhat.com>
> ---
>  m4/virt-jansson.m4           | 3 +++
>  tests/qemublocktest.c        | 5 +++++
>  tests/qemucapabilitiestest.c | 5 +++++
>  tests/qemucommandutiltest.c  | 5 +++++
>  tests/qemuhotplugtest.c      | 5 +++++
>  tests/qemumigparamstest.c    | 5 +++++
>  tests/qemumonitorjsontest.c  | 5 +++++
>  tests/virjsontest.c          | 5 +++++
>  tests/virmacmaptest.c        | 5 +++++
>  tests/virnetdaemontest.c     | 5 +++++
>  10 files changed, 48 insertions(+)

Disclamer: I don't have old enough jansson to test this.

ACK, way better than messing with all the data files.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180718/f40efdeb/attachment-0001.sig>


More information about the libvir-list mailing list