From nobody Sun Feb 8 18:10:41 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.61 as permitted sender) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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=1594894253; cv=none; d=zohomail.com; s=zohoarc; b=bkaHQag9yq4Ww6GRyxP85hLnEP2eNDN97gxGm8RFR5FiFK5sAw2edFVXSqbD9Tm0DMABR462lMK+hUie76QUfeSZ0SGlkOOWMbJKDeyK0cAtwYtkqJ8cPzDRKkwO08NzhOC0Z3qQZvMqpWELuCJCdBQ7O/ZejQ8XSrqggdc1tvI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894253; 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=n5fjrsHxGJ9ES1AkFrDm5C594///bSt15H77B4SYKqk=; b=f0jAC21DYasb0yKveFMC3jsw10uguKq9pP2eeeFSAxTkH0hYYEry6QP0SlEy75GzxIxghM/ripiOFN9+DsKGAYXO42ffJKMqWRdmJpJiiPwSOZC/N0JSNjoQdvA8mKUITe45MF6JrIL1O9SWCNPfBh5Yap8RZ2YAGxhnxlA7X7s= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.61 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-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1594894253298149.94487458752883; Thu, 16 Jul 2020 03:10:53 -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-434-ial2dyguN7W895NQsaoWYw-1; Thu, 16 Jul 2020 06:10:50 -0400 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 92F78100AA26; Thu, 16 Jul 2020 10:10:41 +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 6EDDD10098A1; Thu, 16 Jul 2020 10:10:41 +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 3AF7BA3711; Thu, 16 Jul 2020 10:10:41 +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 06GA6rap019939 for ; Thu, 16 Jul 2020 06:06:53 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4494B2DE69; Thu, 16 Jul 2020 10:06:53 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id B39A12B6DB for ; Thu, 16 Jul 2020 10:06:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894252; 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=n5fjrsHxGJ9ES1AkFrDm5C594///bSt15H77B4SYKqk=; b=bFro7iAoHjF/Swx748Tcthzsu3idyn3kRg+fQt5a+EVTBmwJYB3B5pguWfhHtm5+YVNHOm 2dRdXBFxwqSAiRsQwHB2D9nesy6Nv3ALI/B8BIQoFDGJU9i5WZ9PcgIgP8zGLvTF3En1mH b03okBSevKVPqQmnV4SpTdqdfjD3/us= X-MC-Unique: ial2dyguN7W895NQsaoWYw-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 293/351] meson: tests: add lxc specific tests Date: Thu, 16 Jul 2020 11:58:49 +0200 Message-Id: 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.84 on 10.5.11.22 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 | 22 ---------------------- tests/meson.build | 7 +++++++ 2 files changed, 7 insertions(+), 22 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index ec57dd5543b..44f02da7af6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -53,10 +53,6 @@ test_programs +=3D qemuxml2argvtest qemuxml2xmltest \ test_helpers +=3D qemucapsprobe endif WITH_QEMU =20 -if WITH_LXC -test_programs +=3D lxcxml2xmltest lxcconf2xmltest -endif WITH_LXC - if WITH_OPENVZ test_programs +=3D openvzutilstest endif WITH_OPENVZ @@ -306,24 +302,6 @@ qemuvhostusertest_SOURCES =3D \ qemuvhostusertest_LDADD =3D $(qemu_LDADDS) endif ! WITH_QEMU =20 -if WITH_LXC - -lxc_LDADDS =3D \ - ../src/libvirt_driver_lxc_impl.la \ - $(LDADDS) \ - $(NULL) - -lxcxml2xmltest_SOURCES =3D \ - lxcxml2xmltest.c testutilslxc.c testutilslxc.h \ - testutils.c testutils.h -lxcxml2xmltest_LDADD =3D $(lxc_LDADDS) - -lxcconf2xmltest_SOURCES =3D \ - lxcconf2xmltest.c testutilslxc.c testutilslxc.h \ - testutils.c testutils.h -lxcconf2xmltest_LDADD =3D $(lxc_LDADDS) -endif ! WITH_LXC - if WITH_OPENVZ openvzutilstest_SOURCES =3D \ openvzutilstest.c \ diff --git a/tests/meson.build b/tests/meson.build index 3b5938abfc4..439d95401ef 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -379,6 +379,13 @@ if conf.has('WITH_LIBXL') ] endif =20 +if conf.has('WITH_LXC') + tests +=3D [ + { 'name': 'lxcconf2xmltest', 'link_with': [ test_utils_lxc_lib, lxc_dr= iver_impl_lib ] }, + { 'name': 'lxcxml2xmltest', 'link_with': [ test_utils_lxc_lib, lxc_dri= ver_impl_lib ] }, + ] +endif + foreach data : tests test_sources =3D '@0@.c'.format(data['name']) test_bin =3D executable( --=20 2.26.2