From nobody Sun Feb 8 15:30:50 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=1594894629; cv=none; d=zohomail.com; s=zohoarc; b=kQtIfZQf6hIMbqkmOE9ixoBWtlCbKgqzlObWlcLofVE5PNZcHPbNXOEwbxszfJSDuuJyaBJuzhNqPtZo+/poEFNlLBIDVLB4UIwEIvebJ724IFXTggcrDKwHfLYTkoo+twhfZ9zgopq8RCG1z4xu4m9ctu1fLN8VbBZ7sFFoFZU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894629; 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=UuyFJM/2394/EjW1FxnOd/QhUCQ0qkOjyKonnCarvNk=; b=axjqsJ17HGOQon6cOO7EqUtVelip1wEvVfxZK++ZIY9lodC93LMJ5+Q8Dye4ifoPuZkfMDwYxVDJ2vWMBIV+mDhawvGuzw3oV0C7FVHToTDIxsZ0OCTKM1FcDRfSNXbj/gm60njP2gscfk3Sg3II7ojT5OQUewMNLHcChk53X/A= 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 1594894629846549.1069786178786; Thu, 16 Jul 2020 03:17:09 -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-478-L1IuSO-rMr-APEgARJROeA-1; Thu, 16 Jul 2020 06:14:18 -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 21BCA8027F0; Thu, 16 Jul 2020 10:14:13 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.20]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 007101053B01; Thu, 16 Jul 2020 10:14:12 +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 BDD7A181D0AA; Thu, 16 Jul 2020 10:14:12 +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 06GA6dpS019742 for ; Thu, 16 Jul 2020 06:06:39 -0400 Received: by smtp.corp.redhat.com (Postfix) id AEBFC2DE69; Thu, 16 Jul 2020 10:06:39 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 28DB02B6DB for ; Thu, 16 Jul 2020 10:06:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894628; 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=UuyFJM/2394/EjW1FxnOd/QhUCQ0qkOjyKonnCarvNk=; b=KqYKFrzyVZcIwfpVff/lTcQzZzef3+fhSVBzo3NKeBb0x/v2Ls/DV6PyaI5rV910wxLBit Ssxj6SEEwUwe0x8cqli4WY2O/M62NpZiwSNq/QAqcSsVnff9VwNM6FdHs4QY0EPXQBSmbK aN9EajLeHWcnExQb6ZWwm0AWVnxc4Z4= X-MC-Unique: L1IuSO-rMr-APEgARJROeA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 278/351] meson: introduce tests directory Date: Thu, 16 Jul 2020 11:58:34 +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 --- meson.build | 2 ++ tests/Makefile.am | 32 -------------------------------- tests/meson.build | 30 ++++++++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 32 deletions(-) create mode 100644 tests/meson.build diff --git a/meson.build b/meson.build index b623ddbf4fd..2e894df1ab2 100644 --- a/meson.build +++ b/meson.build @@ -2205,6 +2205,8 @@ subdir('src') =20 subdir('tools') =20 +subdir('tests') + =20 # generate meson-config.h file configure_file(output: 'meson-config.h', configuration: conf) diff --git a/tests/Makefile.am b/tests/Makefile.am index 1b384f3d0c2..79fc271ac64 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -16,38 +16,6 @@ ## License along with this library. If not, see ## . =20 -AM_CPPFLAGS =3D \ - -I$(top_builddir) -I$(top_srcdir) \ - -I$(top_builddir)/include -I$(top_srcdir)/include \ - -I$(top_builddir)/src -I$(top_srcdir)/src \ - -I$(top_srcdir)/src/util \ - -I$(top_srcdir)/src/conf \ - -I$(top_srcdir)/src/hypervisor \ - -I$(top_builddir)/src/rpc \ - $(NULL) - -WARN_CFLAGS +=3D $(RELAXED_FRAME_LIMIT_CFLAGS) - -AM_CFLAGS =3D \ - -Dabs_builddir=3D"\"$(abs_builddir)\"" \ - -Dabs_top_builddir=3D"\"$(abs_top_builddir)\"" \ - -Dabs_srcdir=3D"\"$(abs_srcdir)\"" \ - -Dabs_top_srcdir=3D"\"$(abs_top_srcdir)\"" \ - $(LIBXML_CFLAGS) \ - $(GLIB_CFLAGS) \ - $(LIBNL_CFLAGS) \ - $(GNUTLS_CFLAGS) \ - $(SASL_CFLAGS) \ - $(SELINUX_CFLAGS) \ - $(APPARMOR_CFLAGS) \ - $(YAJL_CFLAGS) \ - $(COVERAGE_CFLAGS) \ - $(XDR_CFLAGS) \ - $(WARN_CFLAGS) - -AM_LDFLAGS =3D \ - -export-dynamic - MOCKLIBS_LDFLAGS =3D -avoid-version \ -rpath /evil/libtool/hack/to/force/shared/lib/creation \ $(MINGW_EXTRA_LDFLAGS) diff --git a/tests/meson.build b/tests/meson.build new file mode 100644 index 00000000000..ab4acbbea9d --- /dev/null +++ b/tests/meson.build @@ -0,0 +1,30 @@ +tests_dep =3D declare_dependency( + compile_args: [ + '-Dabs_builddir=3D"@0@"'.format(meson.current_build_dir()), + '-Dabs_top_builddir=3D"@0@"'.format(meson.build_root()), + '-Dabs_srcdir=3D"@0@"'.format(meson.current_source_dir()), + '-Dabs_top_srcdir=3D"@0@"'.format(meson.source_root()), + ] + coverage_flags + cc_flags_relaxed_frame_limit, + dependencies: [ + apparmor_dep, + dlopen_dep, + glib_dep, + gnutls_dep, + libnl_dep, + libxml_dep, + rpc_dep, + sasl_dep, + selinux_dep, + xdr_dep, + yajl_dep, + ], + include_directories: [ + conf_inc_dir, + hypervisor_inc_dir, + libvirt_inc, + src_inc_dir, + top_inc_dir, + util_inc_dir, + ], + link_args: libvirt_export_dynamic, +) --=20 2.26.2