From nobody Sun Feb 8 11:59:32 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=1594894926; cv=none; d=zohomail.com; s=zohoarc; b=BnYR0u6SxDPgzNDhRMsurzSVNt6ewYKt83eIE7sAVfVZErUS6pjt3w3bsK2y5VB0EUzhMKbjR4w2rZ0sZV1AksR+hUeJBGwPO+awr4sWVl9qbUrSnHoOttGWNWuT/7l7PJn46PQBZtA7mZ15x3CEiCZfInxmeMSA9WrRR2OcvQ0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894926; 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=KpayMhgyz2ouN51WhyuaorH93Ct7M3g29UTXo0soa3s=; b=U2WpacJoMUi75SxXrb5RRjYatr9AsCvhi3IdG6VmlvReq+DS9Lq6x5UuvBFjkZW0DZuQ62b/w/Nl3dMbOj09P70WLKY8nbcBDX/f2TYr3Bc+vfN6cKzw/V6xf2eOP7fkDDVPH6LrReeyujkDSxiTJqDSNLkfzCNuqLuPFpFDRug= 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 1594894926635153.59674315661175; Thu, 16 Jul 2020 03:22:06 -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-258-iD1aaAoSMeevh_4PoOhkxg-1; Thu, 16 Jul 2020 06:14:25 -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 4A3311009613; Thu, 16 Jul 2020 10:14:20 +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 2596610023A7; Thu, 16 Jul 2020 10:14:20 +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 E6E289624C; Thu, 16 Jul 2020 10:14:19 +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 06GA6oie019911 for ; Thu, 16 Jul 2020 06:06:50 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8B1522B6DC; Thu, 16 Jul 2020 10:06:50 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 058792B6DB for ; Thu, 16 Jul 2020 10:06:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894925; 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=KpayMhgyz2ouN51WhyuaorH93Ct7M3g29UTXo0soa3s=; b=ZSIbm8Xh8a0GRl/Cs255ArPKS1Zt/FgXWAI22ePQPDvsRWdvHuVutsopIfjbq5ORgf43dn 53FyxxPn1TTL7Z7gAQJFtO7I1N7xQYXTgbxRKrKEZRltjrKVsGWqtVrpAFHFRkuLjkez0e PdpNOwze5tcrGYpM8k+CRo/uQCxUJmY= X-MC-Unique: iD1aaAoSMeevh_4PoOhkxg-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 290/351] meson: tests: add ESX specific tests Date: Thu, 16 Jul 2020 11:58:46 +0200 Message-Id: <6f57684e55cd1cf4bf9bc16c2ee654382960b857.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.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 --- src/esx/meson.build | 2 ++ tests/Makefile.am | 14 -------------- tests/meson.build | 6 ++++++ 3 files changed, 8 insertions(+), 14 deletions(-) diff --git a/src/esx/meson.build b/src/esx/meson.build index 1718411d759..469c2044c63 100644 --- a/src/esx/meson.build +++ b/src/esx/meson.build @@ -63,3 +63,5 @@ if conf.has('WITH_ESX') else sym_files +=3D 'libvirt_esx.syms' endif + +esx_inc_dir =3D include_directories('.') diff --git a/tests/Makefile.am b/tests/Makefile.am index b721b135cfd..55369717cd9 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -70,10 +70,6 @@ if WITH_OPENVZ test_programs +=3D openvzutilstest endif WITH_OPENVZ =20 -if WITH_ESX -test_programs +=3D esxutilstest -endif WITH_ESX - if WITH_VBOX test_programs +=3D vboxsnapshotxmltest endif WITH_VBOX @@ -375,16 +371,6 @@ openvzutilstest_LDADD =3D $(LDADDS) \ ../src/libvirt_driver_openvz.la endif ! WITH_OPENVZ =20 -if WITH_ESX -esxutilstest_SOURCES =3D \ - esxutilstest.c \ - testutils.c testutils.h -esxutilstest_LDADD =3D $(LDADDS) -esxutilstest_CFLAGS =3D \ - -I$(top_builddir)/src/esx \ - $(AM_CFLAGS) -endif ! WITH_ESX - if WITH_VBOX vboxsnapshotxmltest_SOURCES =3D \ vboxsnapshotxmltest.c \ diff --git a/tests/meson.build b/tests/meson.build index 86f12a58f7b..1eded8454f1 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -356,6 +356,12 @@ if conf.has('WITH_DBUS') endif endif =20 +if conf.has('WITH_ESX') + tests +=3D [ + { 'name': 'esxutilstest', 'include': [ esx_inc_dir ], 'deps': [ dbus_d= ep ] }, + ] +endif + foreach data : tests test_sources =3D '@0@.c'.format(data['name']) test_bin =3D executable( --=20 2.26.2