From nobody Mon Feb 9 12:42:44 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 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=1560338442; cv=none; d=zoho.com; s=zohoarc; b=iDDqgQ2M6TQUsP6sicOo/AFc31fZG6KMG1oqan4NWwYEj7e758SMrhSBCZNxvEkMOSwcBdJPI6TFiHIF6Er5OP7wI3MoTYkODimju8s/8NpRJpNF08dKz87fwENkfbAhCLEoW2HCnfk2ufT2u8MWtXY9qw7lvEilGwnUulmfviM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560338442; 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:ARC-Authentication-Results; bh=r34frCHwitVbNhquoIDtF7/i2rgnoSRKzcnCA0eGWKY=; b=AtC7Q5LgQIerJbYruLLi3Rhp04UxT1Ng6AIUJ60vOl3FtZqOCsrLuv0WgVbXGKFSxY1OGGz63Xe0GzmWLvgMhuCz5fGv6hRYE8KQ7gB3E9wjVmOTLmLBgWVYKREE8br7HNuugE3xUXs5U/VrcKdOzypRxvg9vV4uF7Clp+QD2IY= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1560338442619915.2539780572755; Wed, 12 Jun 2019 04:20:42 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 7A25D8A004; Wed, 12 Jun 2019 11:20:35 +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 4A8C3648D7; Wed, 12 Jun 2019 11:20:35 +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 0B9434EBD7; Wed, 12 Jun 2019 11:20:35 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id x5CBJZJK025311 for ; Wed, 12 Jun 2019 07:19:35 -0400 Received: by smtp.corp.redhat.com (Postfix) id 336EB1712D; Wed, 12 Jun 2019 11:19:35 +0000 (UTC) Received: from kinshicho.brq.redhat.com (unknown [10.43.2.73]) by smtp.corp.redhat.com (Postfix) with ESMTPS id B2325377B for ; Wed, 12 Jun 2019 11:19:34 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 12 Jun 2019 13:19:28 +0200 Message-Id: <20190612111929.28748-3-abologna@redhat.com> In-Reply-To: <20190612111929.28748-1-abologna@redhat.com> References: <20190612111929.28748-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-loop: libvir-list@redhat.com Subject: [libvirt] [PATCH 2/3] tests: Tweak vircapstest_LDADD 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: , Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.26]); Wed, 12 Jun 2019 11:20:36 +0000 (UTC) Content-Type: text/plain; charset="utf-8" We optionally include QEMU and LXC support in this test and depending on which is enabled (if either is enabled at all) we need to link in different objects. Right now we implicitly depend on the fact that qemu_LDADDS is empty when QEMU is not enabled to get the correct set of objects, but it's better to be explicit about it. Signed-off-by: Andrea Bolognani --- tests/Makefile.am | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/Makefile.am b/tests/Makefile.am index c34cfba34c..f9dbf9a0f6 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1029,7 +1029,11 @@ endif WITH_LXC if WITH_QEMU vircapstest_SOURCES +=3D testutilsqemu.c testutilsqemu.h endif WITH_QEMU +if WITH_QEMU vircapstest_LDADD =3D $(qemu_LDADDS) $(LDADDS) +else ! WITH_QEMU +vircapstest_LDADD =3D $(LDADDS) +endif ! WITH_QEMU =20 domaincapsmock_la_SOURCES =3D domaincapsmock.c domaincapsmock_la_LDFLAGS =3D $(MOCKLIBS_LDFLAGS) --=20 2.21.0 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list