From nobody Mon Feb 9 08:29:58 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) client-ip=207.211.31.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1594895156; cv=none; d=zohomail.com; s=zohoarc; b=R2/4kOUs2eNpIJLcoYRcE+aO2AT6Dn56ok9XdfLj4temjbxoJZSqdbTaZYjr+nbF6UnCn6S/2rYIRC3adHmfz8dvLrFluggbBGbLMqWcMYA9NjZYEjArgadnsMs8q5BwwKWOjZaLwjU4tEpcGAuelT/qTWoz/ELfIHlHiIW6aEU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594895156; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=mQjszcTUAOHFCoiYrUQEZgz6Ddf4DbOZQ4Axm3KY4oY=; b=leFRhSmHVLoOShv7V7QSqoMNxS8JRyhi/6D6V6pwd74NnjH7zFVr+kHYknWfgHlLKvypHzjd6BxQwakM6x43eqbH3ldd/+sXP/Z/6TbhGv6szApIbMeNYf4p1imGklVebsmjKSkYv9Cw3v/Po4rcZ31RrIGGULawtwjdc8bDzSs= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 207.211.31.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by mx.zohomail.com with SMTPS id 1594895156352338.9233115760744; Thu, 16 Jul 2020 03:25:56 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-159-o68p0XPtNOy3OROPPuRHow-1; Thu, 16 Jul 2020 06:09:26 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 11CD21888AA8; Thu, 16 Jul 2020 10:09:19 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id E770278A53; Thu, 16 Jul 2020 10:09:18 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id B97D99A321; Thu, 16 Jul 2020 10:09:18 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 06GA6qiP019932 for ; Thu, 16 Jul 2020 06:06:52 -0400 Received: by smtp.corp.redhat.com (Postfix) id 5BEEA2B6E6; Thu, 16 Jul 2020 10:06:52 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id CA69B2B6DB for ; Thu, 16 Jul 2020 10:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594895155; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=mQjszcTUAOHFCoiYrUQEZgz6Ddf4DbOZQ4Axm3KY4oY=; b=LAEFUqFdL9PdQFV27kKyEtF///AEsjqhvvuECy85nEPPj0YU9P0MDrgUVYfnzUFVls57ak MANPufOEJ/sfwkzueyEvlgBPaXK9qQd2AMBsoNARok9lb4Nf5x9JbRjSabLqTo8z008ObO U5PYUE2bVIrf19F3y67eHgbknHZ86FM= X-MC-Unique: o68p0XPtNOy3OROPPuRHow-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 292/351] meson: tests: add libxl specific tests Date: Thu, 16 Jul 2020 11:58:48 +0200 Message-Id: <7b6afa349423779924d297e52b811415f224536f.1594891445.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Signed-off-by: Pavel Hrdina --- tests/Makefile.am | 30 ------------------------------ tests/meson.build | 8 ++++++++ 2 files changed, 8 insertions(+), 30 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index a927c0cb2fd..ec57dd5543b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -37,11 +37,6 @@ endif WITH_QEMU endif WITH_ATTR endif WITH_SECDRIVER_SELINUX =20 -if WITH_LIBXL -test_programs +=3D xlconfigtest \ - xmconfigtest libxlxml2domconfigtest -endif WITH_LIBXL - if WITH_QEMU test_programs +=3D qemuxml2argvtest qemuxml2xmltest \ qemudomaincheckpointxml2xmltest qemudomainsnapshotxml2xmltest \ @@ -178,31 +173,6 @@ VALGRIND =3D valgrind --quiet --leak-check=3Dfull --tr= ace-children=3Dyes \ valgrind: $(MAKE) check VG=3D"$(LIBTOOL) --mode=3Dexecute $(VALGRIND)" =20 -if WITH_LIBXL -libxl_LDADDS =3D \ - ../src/libvirt_driver_libxl_impl.la \ - $(LDADDS) \ - $(NULL) - -xlconfigtest_SOURCES =3D \ - xlconfigtest.c testutilsxen.c testutilsxen.h \ - testutils.c testutils.h -xlconfigtest_LDADD =3D libxltestdriver.la \ - $(libxl_LDADDS) - -xmconfigtest_SOURCES =3D \ - xmconfigtest.c testutilsxen.c testutilsxen.h \ - testutils.c testutils.h -xmconfigtest_LDADD =3D libxltestdriver.la \ - $(libxl_LDADDS) - -libxlxml2domconfigtest_SOURCES =3D \ - libxlxml2domconfigtest.c testutilsxen.c testutilsxen.h \ - testutils.c testutils.h -libxlxml2domconfigtest_LDADD =3D libxltestdriver.la \ - $(libxl_LDADDS) $(LIBXML_LIBS) -endif ! WITH_LIBXL - if WITH_QEMU =20 qemu_LDADDS =3D ../src/libvirt_driver_qemu_impl.la diff --git a/tests/meson.build b/tests/meson.build index cc1b830d72b..3b5938abfc4 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -371,6 +371,14 @@ if conf.has('WITH_LIBVIRTD') ] endif =20 +if conf.has('WITH_LIBXL') + tests +=3D [ + { 'name': 'libxlxml2domconfigtest', 'link_with': [ test_utils_xen_lib,= test_xen_driver_lib ], 'deps': [ libxl_dep ] }, + { 'name': 'xlconfigtest', 'link_with': [ test_utils_xen_lib, test_xen_= driver_lib ] }, + { 'name': 'xmconfigtest', 'link_with': [ test_utils_xen_lib, test_xen_= driver_lib ] }, + ] +endif + foreach data : tests test_sources =3D '@0@.c'.format(data['name']) test_bin =3D executable( --=20 2.26.2