From nobody Sun Feb 8 09:37:43 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=1594895105; cv=none; d=zohomail.com; s=zohoarc; b=UEcPqO1jG6M6u1XmHnqdtIKmDt+nYgVqg4GBWnIUS94waBlNkqb9tUe7VAgrA9hEzY0olM9pA9pFxzraCS69oOX0AU959Ti5K97/KxFISVx0ndQ8ZImbMqa4RI5FqjJjS9fDRfyaYD2Zct/AO8Fg4v0rTqBZ6oQtFRkVY7XdgZE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594895105; 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=sGXYLuuDcowMHtJlIwlD05ay5Ps5Eh8V06WY129ybPg=; b=ey2Cu0FzIV5smpGoYYQa3BYAl6uJ1pj1Qn94DK7CsDP/3E6LSRL5YMjTeht9XJSq3KLdAwFmSynwZ7zUp01kHhn4xf0GnHp0xSyzYgxd4JSON2gkQJnKmeh91wtg2FhBdErUXJp+o/yz62o9lHhRSqqXJSinKVHv8Z7kXiIMkCQ= 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 1594895105385136.4473012275114; Thu, 16 Jul 2020 03:25:05 -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-340-yNk3zV4dMOmH_fyDqokI5Q-1; Thu, 16 Jul 2020 06:14:31 -0400 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 758BB8027F8; Thu, 16 Jul 2020 10:14:25 +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 57A2178471; Thu, 16 Jul 2020 10:14:25 +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 29C049A302; Thu, 16 Jul 2020 10:14:25 +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 06GA6vNX019989 for ; Thu, 16 Jul 2020 06:06:57 -0400 Received: by smtp.corp.redhat.com (Postfix) id 4D5342B6DB; Thu, 16 Jul 2020 10:06:57 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id B9C052B6DC for ; Thu, 16 Jul 2020 10:06:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594895104; 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=sGXYLuuDcowMHtJlIwlD05ay5Ps5Eh8V06WY129ybPg=; b=AB9r9m2ryE22LT2yzYyBRYp24kokN8107nuT45vlYcH1sx3vS2cdO8z7vM6JNtpC6jVkTK GSSRB47BXQpHbckMf7uZb/3qTtG8N4XRdbKTED3IoSGjm1JppxV+97RZNRYi+PesqkrMCE x+8aaxXyVzbTXYghLUbzF7aEvztYUGc= X-MC-Unique: yNk3zV4dMOmH_fyDqokI5Q-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 294/351] meson: tests: add network specific tests Date: Thu, 16 Jul 2020 11:58:50 +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.11 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 | 25 ------------------------- tests/meson.build | 8 ++++++++ 2 files changed, 8 insertions(+), 25 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 44f02da7af6..ad8bc21fd8d 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -73,14 +73,6 @@ if WITH_YAJL test_programs +=3D virjsontest endif WITH_YAJL =20 -if WITH_NETWORK -test_programs +=3D \ - networkxml2xmltest \ - networkxml2conftest \ - networkxml2firewalltest \ - $(NULL) -endif WITH_NETWORK - if WITH_STORAGE_SHEEPDOG test_programs +=3D storagebackendsheepdogtest endif WITH_STORAGE_SHEEPDOG @@ -337,23 +329,6 @@ vmwarevertest_SOURCES =3D \ vmwarevertest_LDADD =3D $(LDADDS) endif ! WITH_VMWARE =20 -if WITH_NETWORK -networkxml2xmltest_SOURCES =3D \ - networkxml2xmltest.c \ - testutils.c testutils.h -networkxml2xmltest_LDADD =3D ../src/libvirt_driver_network_impl.la $(LDADD= S) - -networkxml2conftest_SOURCES =3D \ - networkxml2conftest.c \ - testutils.c testutils.h -networkxml2conftest_LDADD =3D ../src/libvirt_driver_network_impl.la $(LDAD= DS) - -networkxml2firewalltest_SOURCES =3D \ - networkxml2firewalltest.c \ - testutils.c testutils.h -networkxml2firewalltest_LDADD =3D ../src/libvirt_driver_network_impl.la $(= LDADDS) -endif ! WITH_NETWORK - if WITH_STORAGE_SHEEPDOG storagebackendsheepdogtest_SOURCES =3D \ storagebackendsheepdogtest.c \ diff --git a/tests/meson.build b/tests/meson.build index 439d95401ef..4fc8c170c0a 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -386,6 +386,14 @@ if conf.has('WITH_LXC') ] endif =20 +if conf.has('WITH_NETWORK') + tests +=3D [ + { 'name': 'networkxml2conftest', 'link_with': [ network_driver_impl ] = }, + { 'name': 'networkxml2firewalltest', 'link_with': [ network_driver_imp= l ] }, + { 'name': 'networkxml2xmltest', 'link_with': [ network_driver_impl ] }, + ] +endif + foreach data : tests test_sources =3D '@0@.c'.format(data['name']) test_bin =3D executable( --=20 2.26.2