From: Ján Tomko Date: Tue, 25 Sep 2018 12:48:35 +0000 (+0200) Subject: tests: libxl: skip tests with nested_hvm X-Git-Tag: v4.8.0-rc2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e94415d5a57849769e6d5238b9a30aec0f50d048;p=thirdparty%2Flibvirt.git tests: libxl: skip tests with nested_hvm 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 Reviewed-by: Erik Skultety --- diff --git a/tests/libxlxml2domconfigtest.c b/tests/libxlxml2domconfigtest.c index 0eba5814b1..22f9c2c871 100644 --- a/tests/libxlxml2domconfigtest.c +++ b/tests/libxlxml2domconfigtest.c @@ -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");