]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: also skip qemuagenttest with old jansson
authorJán Tomko <jtomko@redhat.com>
Mon, 23 Jul 2018 14:57:20 +0000 (16:57 +0200)
committerJán Tomko <jtomko@redhat.com>
Mon, 23 Jul 2018 15:03:02 +0000 (17:03 +0200)
qemuagenttest also depends on JSON object key ordering:
Invalid value of argument 'vcpus' of command 'guest-set-vcpus':
expected '[{"logical-id":1,"online":false}]' got '[{"online":false,"logical-id":1}]'

Skip it as well.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
tests/qemuagenttest.c

index 232b34f9cd7c5f45d93f9166a821ad329091998c..b3d737d8a81003aa3b3f169547c41a56ac997ba1 100644 (file)
@@ -907,8 +907,8 @@ mymain(void)
 {
     int ret = 0;
 
-#if !WITH_JANSSON
-    fputs("libvirt not compiled with JSON support, skipping this test\n", stderr);
+#if !WITH_STABLE_ORDERING_JANSSON
+    fputs("libvirt not compiled with recent enough Jansson, skipping this test\n", stderr);
     return EXIT_AM_SKIP;
 #endif