From nobody Sun Feb 8 13:11:15 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=1594894256; cv=none; d=zohomail.com; s=zohoarc; b=cl7uf7PFvbhRkKTgklKxwT2Xz/pHu2Ow0jfLvgtCRpHd5L/Mc0YFxdPrfkOWXaWETr3A7N5+cMzbjUut9mfqkKQuwhDcm7sGIaQdbxRJcyYKaIJ7AmE05yXzNg5kWbYaNw/3SjV/NlSZnIcywJLtt6aY49LRdiJ7sxR0Vs9bIr0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894256; 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=SNi4ttXMziedcnh9dezK7n1fwwhWihwZrALbi8GjKyc=; b=BDbTiBRYfEEgmlcLs5l52CYt66QQwYmWDu4DqdTmr9hyjAmFcSrYQi09wKJSD15XBtZwaFcDchWFxYGFh3OUk0g0qvWL3vncEFk9Wb2aGUR3C9wZUPEn1jn13V/+LDpaHDsiuh5psDFQ3gCPxc2AShTUBiUc8I1ogA03fzU4ezM= 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-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1594894256403908.9521851144663; Thu, 16 Jul 2020 03:10:56 -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-134-QUc-6WX3MBWWT2igciDsAA-1; Thu, 16 Jul 2020 06:10:52 -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 6B9A2802812; Thu, 16 Jul 2020 10:10:46 +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 4062270104; Thu, 16 Jul 2020 10:10:46 +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 0809BA3713; Thu, 16 Jul 2020 10:10:46 +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 06GA70RP020074 for ; Thu, 16 Jul 2020 06:07:00 -0400 Received: by smtp.corp.redhat.com (Postfix) id 089652B6DC; Thu, 16 Jul 2020 10:07:00 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 7740A2B6DB for ; Thu, 16 Jul 2020 10:06:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894255; 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=SNi4ttXMziedcnh9dezK7n1fwwhWihwZrALbi8GjKyc=; b=cFYaOdtlYlcTtOSwnBt8S9Yt6QWFLsiMV0dVo0imbvYZTSuUeMy9K7YJ+aZfSwRFr2JQD2 0o7IYNazenEQ1tGnWZrFXl+rTa6YckwFnN0gmF7LSdnCdGVd1DOi5ILXd3JWTbwcIaL6/V bi9acU2GDGNOdPwBvK3YgxULjJrZOhc= X-MC-Unique: QUc-6WX3MBWWT2igciDsAA-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 297/351] meson: tests: add nwfilter specific tests Date: Thu, 16 Jul 2020 11:58:53 +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.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 | 18 ------------------ tests/meson.build | 7 +++++++ 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 816d7ec8a64..6a217cd92e7 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -77,11 +77,6 @@ if WITH_STORAGE_SHEEPDOG test_programs +=3D storagebackendsheepdogtest endif WITH_STORAGE_SHEEPDOG =20 -if WITH_NWFILTER -test_programs +=3D nwfilterebiptablestest -test_programs +=3D nwfilterxml2firewalltest -endif WITH_NWFILTER - if WITH_STORAGE test_programs +=3D storagevolxml2argvtest test_programs +=3D storagepoolxml2argvtest @@ -334,19 +329,6 @@ storagebackendsheepdogtest_LDADD =3D \ $(LDADDS) endif ! WITH_STORAGE_SHEEPDOG =20 -if WITH_NWFILTER -nwfilterebiptablestest_SOURCES =3D \ - nwfilterebiptablestest.c \ - testutils.c testutils.h -nwfilterebiptablestest_LDADD =3D ../src/libvirt_driver_nwfilter_impl.la $(= LDADDS) - -nwfilterxml2firewalltest_SOURCES =3D \ - nwfilterxml2firewalltest.c \ - testutils.c testutils.h -nwfilterxml2firewalltest_LDADD =3D \ - ../src/libvirt_driver_nwfilter_impl.la $(LDADDS) -endif WITH_NWFILTER - if WITH_STORAGE virstorageutiltest_SOURCES =3D \ virstorageutiltest.c \ diff --git a/tests/meson.build b/tests/meson.build index 0b503bca720..916b6de10f9 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -417,6 +417,13 @@ if conf.has('WITH_NSS') ] endif =20 +if conf.has('WITH_NWFILTER') + tests +=3D [ + { 'name': 'nwfilterebiptablestest', 'link_with': [ nwfilter_driver_imp= l ] }, + { 'name': 'nwfilterxml2firewalltest', 'link_with': [ nwfilter_driver_i= mpl ] }, + ] +endif + foreach data : tests test_sources =3D '@0@.c'.format(data['name']) test_bin =3D executable( --=20 2.26.2