From nobody Sun Feb 8 19:21:07 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.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 205.139.110.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=1594894647; cv=none; d=zohomail.com; s=zohoarc; b=Xt3WHVKCSdAHuH701DOhsbUGRcOWRh82LRu0FZdjmRB+L3i/EMzVQBhWAgZkQMkdUNarCXCBKR8vASdBb0rrcXG9Uj9hjt33oGwUZPnwJ2KG0iJnEO/zbrkLMMBNpQLB9fMhTKye5BJ9HJcQmLecCAJPoZndm0TlCjw/BmNxwTs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894647; 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=XUzDNC9IW5IqdvWWrl/3pN43APdoHyytDZ6sK0MVnio=; b=Zb/j+wEV/GpJEEZ+h/+waXHuNcyN5QkJlrZ/h+6vQ0K8pgPM62K+vRYt0ruoPdNmNdlzw6inJb/1+TguvXUnf82izqB5WKKyWtP5C0fDNP293/+6nILqbpxVjKPL4Ex4ofLifezLdrMx7gBrEexBmCKEgizqY53XgODFo5JHlDE= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.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 [205.139.110.120]) by mx.zohomail.com with SMTPS id 1594894647828848.1520652578072; Thu, 16 Jul 2020 03:17:27 -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-385-2yiYH9KXNk6qjvJwuX3fbA-1; Thu, 16 Jul 2020 06:10:58 -0400 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 87A3D8015FB; Thu, 16 Jul 2020 10:10:53 +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 643EA18A6E; Thu, 16 Jul 2020 10:10:53 +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 35934A3719; Thu, 16 Jul 2020 10:10:53 +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 06GA74ST020192 for ; Thu, 16 Jul 2020 06:07:04 -0400 Received: by smtp.corp.redhat.com (Postfix) id 8D9802B6DC; Thu, 16 Jul 2020 10:07:04 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0826B2B6DB for ; Thu, 16 Jul 2020 10:07:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894645; 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=XUzDNC9IW5IqdvWWrl/3pN43APdoHyytDZ6sK0MVnio=; b=AluB2fMN5buk5gguUhdqDumAT/A2uMZp6+11c10dk0xGL1WzruEQfNowWS5K9fipqZ22Wj iLtbSfrJe4RNIP+IjihQWXMGUAgoVZ/MX+aO2KHuA9xywClzEW/MRAf38sySsKDiqSEEyD U83E1UO3A5M05zK520FbdQoMDs+XXSI= X-MC-Unique: 2yiYH9KXNk6qjvJwuX3fbA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 302/351] meson: tests: add storage specific tests Date: Thu, 16 Jul 2020 11:58:58 +0200 Message-Id: <78a40d82755f17f7742de06715f3fd29e853396d.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.12 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 --- tests/Makefile.am | 48 ----------------------------------------------- tests/meson.build | 10 ++++++++++ 2 files changed, 10 insertions(+), 48 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 7b2cba16eff..83b8e979df4 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -40,14 +40,6 @@ if WITH_STORAGE_SHEEPDOG test_programs +=3D storagebackendsheepdogtest endif WITH_STORAGE_SHEEPDOG =20 -if WITH_STORAGE -test_programs +=3D storagevolxml2argvtest -test_programs +=3D storagepoolxml2argvtest -test_programs +=3D virstorageutiltest -test_programs +=3D storagepoolxml2xmltest -test_programs +=3D storagepoolcapstest -endif WITH_STORAGE - if WITH_STORAGE_FS test_programs +=3D virstoragetest endif WITH_STORAGE_FS @@ -158,46 +150,6 @@ storagebackendsheepdogtest_LDADD =3D \ $(LDADDS) endif ! WITH_STORAGE_SHEEPDOG =20 -if WITH_STORAGE -virstorageutiltest_SOURCES =3D \ - virstorageutiltest.c \ - testutils.c \ - testutils.h \ - $(NULL) -virstorageutiltest_LDADD =3D \ - ../src/libvirt_driver_storage_impl.la \ - $(LDADDS) \ - $(NULL) - -storagevolxml2argvtest_SOURCES =3D \ - storagevolxml2argvtest.c \ - testutils.c testutils.h -storagevolxml2argvtest_LDADD =3D \ - $(LIBXML_LIBS) \ - ../src/libvirt_driver_storage_impl.la \ - ../src/libvirt.la \ - $(LDADDS) - -storagepoolxml2argvtest_SOURCES =3D \ - storagepoolxml2argvtest.c \ - testutils.c testutils.h -storagepoolxml2argvtest_LDADD =3D \ - $(LIBXML_LIBS) \ - ../src/libvirt_driver_storage_impl.la \ - ../src/libvirt.la \ - $(LDADDS) - -storagepoolxml2xmltest_SOURCES =3D \ - storagepoolxml2xmltest.c \ - testutils.c testutils.h -storagepoolxml2xmltest_LDADD =3D $(LDADDS) \ - ../src/libvirt_driver_storage_impl.la - -storagepoolcapstest_SOURCES =3D \ - storagepoolcapstest.c testutils.h testutils.c -storagepoolcapstest_LDADD =3D $(LDADDS) -endif ! WITH_STORAGE - virstoragetest_SOURCES =3D \ virstoragetest.c testutils.h testutils.c virstoragetest_LDADD =3D $(LDADDS) \ diff --git a/tests/meson.build b/tests/meson.build index 67b9cd11d1c..344df91a381 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -487,6 +487,16 @@ if conf.has('WITH_SECDRIVER_SELINUX') endif endif =20 +if conf.has('WITH_STORAGE') + tests +=3D [ + { 'name': 'storagepoolcapstest' }, + { 'name': 'storagepoolxml2argvtest', 'link_with': [ storage_driver_imp= l_lib ] }, + { 'name': 'storagepoolxml2xmltest', 'link_with': [ storage_driver_impl= _lib ] }, + { 'name': 'storagevolxml2argvtest', 'link_with': [ storage_driver_impl= _lib ] }, + { 'name': 'virstorageutiltest', 'link_with': [ storage_driver_impl_lib= ] }, + ] +endif + foreach data : tests test_sources =3D '@0@.c'.format(data['name']) test_bin =3D executable( --=20 2.26.2