From nobody Sun Feb 8 11:07:08 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=1594894831; cv=none; d=zohomail.com; s=zohoarc; b=ZOh/hT3ZmvNndKyzuQffL1a/YyvrCBNoBXrUZKY9YyBEHBL2NIf9yBKGmm8ZImeWpC+Tmm53nXy6tym6mJzQ/2Vy4hvSWYvFr+q1Kqr8Dyb0wk2oYCedFF8VOghhmLX5ndKOxXl68fxMEOljqn9/KAFqJc/5YnADVRkTpIMUWME= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894831; 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=u1AacIBjRt5jChGjplkByLu8ZjgSSxh0hbN/u+BUOPg=; b=Sij1/qyAf0ZIBPbna4xVCii0iFq3Q+QmtLlvoROGbVY/SM8m9Z9qj8jKyLL4Dm8YKicknXUQDgRc2Q5cgj4rj3M6e8Ous9ib7f81R1BELFd4CvVeYz+F5qM2rg/+N0F2UGvf3ZjjCGPSuwVBGH3GxmJCH8saKjWcMyLu77LkiHg= 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 1594894831449253.66489994087817; Thu, 16 Jul 2020 03:20:31 -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-395-YT0ukMP6Ne-GzRthyJfw8w-1; Thu, 16 Jul 2020 06:08:53 -0400 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 mimecast-mx01.redhat.com (Postfix) with ESMTPS id 14D6A100AA39; Thu, 16 Jul 2020 10:08:48 +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 E999A7B426; Thu, 16 Jul 2020 10:08:47 +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 B8EA496236; Thu, 16 Jul 2020 10:08:47 +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 06GA69nB019360 for ; Thu, 16 Jul 2020 06:06:09 -0400 Received: by smtp.corp.redhat.com (Postfix) id D21B22DE69; Thu, 16 Jul 2020 10:06:09 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4D2832B6DB for ; Thu, 16 Jul 2020 10:06:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894830; 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=u1AacIBjRt5jChGjplkByLu8ZjgSSxh0hbN/u+BUOPg=; b=E6hqimHrO/bTAvEwMNaq4qo2GwykHe2Sid5E3OhUZ5z94/0aDO4v3Bv4o7MIGtE4fWw4Fm AMnBI5dMMJhgzaT/4baKqmNHPCZo45hwkwqiXd4R0FfCpRq/6sg7rrc1PlTMRmCQaOD4m3 zESzzhERfysY3+GCa57Q4IFLwZVjdJg= X-MC-Unique: YT0ukMP6Ne-GzRthyJfw8w-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 251/351] meson: src: add check-admin-drivername test Date: Thu, 16 Jul 2020 11:58:07 +0200 Message-Id: <014e95924d3301d02ccd9afa0f71856b89c78b08.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.13 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 --- Makefile.am | 2 +- configure.ac | 2 +- src/Makefile.am | 23 ----------------------- src/admin/Makefile.inc.am | 7 ------- src/admin/meson.build | 6 +++++- src/meson.build | 9 +++++++++ 6 files changed, 16 insertions(+), 33 deletions(-) delete mode 100644 src/Makefile.am delete mode 100644 src/admin/Makefile.inc.am diff --git a/Makefile.am b/Makefile.am index 6df2176364a..c5809204e6b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -20,7 +20,7 @@ # so force it explicitly DISTCHECK_CONFIGURE_FLAGS =3D --enable-werror =20 -SUBDIRS =3D . src tools docs \ +SUBDIRS =3D . tools docs \ tests po examples =20 XZ_OPT ?=3D -v -T0 diff --git a/configure.ac b/configure.ac index af52f957cb2..c26076fd79b 100644 --- a/configure.ac +++ b/configure.ac @@ -111,7 +111,7 @@ m4_if(m4_version_compare([2.61a.100], AC_CONFIG_FILES([run], [chmod +x,-w run]) AC_CONFIG_FILES([\ - Makefile src/Makefile docs/Makefile \ + Makefile docs/Makefile \ .color_coded \ .ycm_extra_conf.py \ libvirt.pc \ diff --git a/src/Makefile.am b/src/Makefile.am deleted file mode 100644 index 33e32506525..00000000000 --- a/src/Makefile.am +++ /dev/null @@ -1,23 +0,0 @@ -## Process this file with automake to produce Makefile.in - -## Copyright (C) 2005-2018 Red Hat, Inc. -## -## This library is free software; you can redistribute it and/or -## modify it under the terms of the GNU Lesser General Public -## License as published by the Free Software Foundation; either -## version 2.1 of the License, or (at your option) any later version. -## -## This library is distributed in the hope that it will be useful, -## but WITHOUT ANY WARRANTY; without even the implied warranty of -## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -## Lesser General Public License for more details. -## -## You should have received a copy of the GNU Lesser General Public -## License along with this library. If not, see -## . - -# No libraries with the exception of LIBXML should be listed -# here. List them against the individual XXX_la_CFLAGS targets -# that actually use them. - -include admin/Makefile.inc.am diff --git a/src/admin/Makefile.inc.am b/src/admin/Makefile.inc.am deleted file mode 100644 index 9d6f3c4cca4..00000000000 --- a/src/admin/Makefile.inc.am +++ /dev/null @@ -1,7 +0,0 @@ -# vim: filetype=3Dautomake - -check-admin-drivername: - $(AM_V_GEN)$(RUNUTF8) $(PYTHON) $(top_srcdir)/scripts/check-drivername.py= \ - $(srcdir)/admin/libvirt_admin_public.syms - -check-admin: check-admin-drivername diff --git a/src/admin/meson.build b/src/admin/meson.build index ed675270845..394ac2b04ad 100644 --- a/src/admin/meson.build +++ b/src/admin/meson.build @@ -51,6 +51,10 @@ admin_client_generated =3D custom_target( capture: true, ) =20 +libvirt_admin_public_syms =3D files( + 'libvirt_admin_public.syms', +) + libvirt_admin_private_syms =3D files( 'libvirt_admin_private.syms', ) @@ -58,7 +62,7 @@ libvirt_admin_private_syms =3D files( libvirt_admin_syms =3D custom_target( 'libvirt_admin.syms', input: [ - 'libvirt_admin_public.syms', + libvirt_admin_public_syms, libvirt_admin_private_syms, ], output: 'libvirt_admin.syms', diff --git a/src/meson.build b/src/meson.build index 24c54241a68..08892b536e2 100644 --- a/src/meson.build +++ b/src/meson.build @@ -887,6 +887,15 @@ test( env: runutf8, ) =20 +test( + 'check-admin-drivername', + python3_prog, + args: [ + check_drivername_prog.path(), libvirt_admin_public_syms, + ], + env: runutf8, +) + test( 'check-driverimpls', python3_prog, --=20 2.26.2