From nobody Tue Feb 10 08:27:58 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 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=1680187202; cv=none; d=zohomail.com; s=zohoarc; b=KVEsZ1exDWdYlDryBNm8wT6VkfJwq0FZ3ak2EXsMscUCXAhXmJh06LOGeUjEB2dcLWf82CtH9+IruZPCwsQmi6km0b65I+WEYEu31gQjv4JkgXNbZgIzfjr8hBZGkD9rYHqZ1U3nAI1LG50EqHptIVhRX+Uj5rOa9hvZZhdiujk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1680187202; 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=G2xMDEYBKF16Hx5pJSmCR/EHepi8Dxp2Y4odm3rgwtU=; b=O6w+ARC2R0u9be8B+rov3EA+aaNsMle+DDrFlZWcOyZT+jjyaL2gPrvVVICvlDd6lOnOejtre4gEuKKfEZ6cvqkIlobyjV8etM8LlVs5cBR9MVuCVD1G1cPNVJNT6bWrSAvT/AudTpov5x8AucYCiC0/N66Nh3npH/alnnCJ5tw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1680187202665478.852615834076; Thu, 30 Mar 2023 07:40:02 -0700 (PDT) Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-542-S3Dv831zNmq6GwrHh9gmsQ-1; Thu, 30 Mar 2023 10:39:56 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 7F11A1818E66; Thu, 30 Mar 2023 14:39:39 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (unknown [10.30.29.100]) by smtp.corp.redhat.com (Postfix) with ESMTP id 6ACA540BC798; Thu, 30 Mar 2023 14:39:39 +0000 (UTC) Received: from mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (localhost [IPv6:::1]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 9F21A1946597; Thu, 30 Mar 2023 14:39:38 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) by mm-prod-listman-01.mail-001.prod.us-east-1.aws.redhat.com (Postfix) with ESMTP id 4E3A719465B2 for ; Thu, 30 Mar 2023 14:39:37 +0000 (UTC) Received: by smtp.corp.redhat.com (Postfix) id 3E0C640BC798; Thu, 30 Mar 2023 14:39:37 +0000 (UTC) Received: from harajuku.usersys.redhat.com (unknown [10.45.226.227]) by smtp.corp.redhat.com (Postfix) with ESMTPS id C0C7340BC797 for ; Thu, 30 Mar 2023 14:39:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1680187201; 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=G2xMDEYBKF16Hx5pJSmCR/EHepi8Dxp2Y4odm3rgwtU=; b=W+r677hRsAJY0OG3FaCAm1N+sM2QGOTq/Wx79LqrSlaEFXuCrjFxrst2RlitOHTPdbYj45 nXWVZMnKkXFprlbKNWGiw3xSU0M332ppetfCk7LHjU8Vds8NXurG2LhWYXxGVw523VXFLw BNUBw3hjZ1ec+7Mp2NQjBQky3FBM51I= X-MC-Unique: S3Dv831zNmq6GwrHh9gmsQ-1 X-Original-To: libvir-list@listman.corp.redhat.com From: Andrea Bolognani To: libvir-list@redhat.com Subject: [libvirt PATCH 2/3] tests: Don't build virgdbusmock on Windows Date: Thu, 30 Mar 2023 16:39:32 +0200 Message-Id: <20230330143933.423024-3-abologna@redhat.com> In-Reply-To: <20230330143933.423024-1-abologna@redhat.com> References: <20230330143933.423024-1-abologna@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libvir-list-bounces@redhat.com Sender: "libvir-list" X-Scanned-By: MIMEDefang 3.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1680187202933100001 Content-Type: text/plain; charset="utf-8"; x-default="true" All of the tests that use this mock (networkxml2firewalltest, virsystemdtest, virpolkittest) are either no-ops on Windows, or are not compiled at all on the target. Signed-off-by: Andrea Bolognani --- tests/meson.build | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/meson.build b/tests/meson.build index 6be806f4ae..fa3d5380d4 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -82,7 +82,6 @@ mock_libs =3D [ { 'name': 'virdnsmasqmock' }, { 'name': 'virfilecachemock' }, { 'name': 'virfirewallmock' }, - { 'name': 'virgdbusmock', 'deps': [ virgdbusmock_dep] }, { 'name': 'virhostcpumock' }, { 'name': 'virhostdevmock' }, { 'name': 'virnetdaemonmock' }, @@ -104,6 +103,12 @@ if host_machine.system() =3D=3D 'linux' ] endif =20 +if host_machine.system() !=3D 'windows' + mock_libs +=3D [ + { 'name': 'virgdbusmock', 'deps': [ virgdbusmock_dep] }, + ] +endif + =20 # build libraries used by tests =20 --=20 2.39.2