]> xenbits.xensource.com Git - libvirt.git/commitdiff
tests: libxl: skip tests with nested_hvm
authorJán Tomko <jtomko@redhat.com>
Tue, 25 Sep 2018 12:48:35 +0000 (14:48 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 26 Sep 2018 14:10:57 +0000 (16:10 +0200)
Commit 95d19cd unconditionally adjusted the tests to account for
the conditional move of the nested_hvm setting location.

Run the affected tests only for the new setup (witnessed by
LIBXL_HAVE_BUILDINFO_NESTED_HVM).

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
tests/libxlxml2domconfigtest.c

index 0eba5814b1e7d212d059e5fc9ea15ab24a5943c7..22f9c2c871875ee1b2edc50ab23bae591655f11e 100644 (file)
@@ -207,9 +207,13 @@ mymain(void)
     DO_TEST("cpu-shares-hvm");
     DO_TEST("variable-clock-hvm");
     DO_TEST("moredevs-hvm");
-    DO_TEST("vnuma-hvm");
     DO_TEST("multiple-ip");
+
+# ifdef LIBXL_HAVE_BUILDINFO_NESTED_HVM
+    DO_TEST("vnuma-hvm");
     DO_TEST("fullvirt-cpuid");
+# endif
+
 
     unlink("libxl-driver.log");