From nobody Sun Feb 8 20:35:22 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=1594894248; cv=none; d=zohomail.com; s=zohoarc; b=Fl6ZFn3KZ0nhsuC6Szsj4wGqFYcbDovrEeGld8Zmx8YZZHBxXXT9RwyoouxVxiXrzhbPYZ6bRJI2GH/BEvm9d06vYINFMirLw/9N13SwGzXZGHfChObgwaK1jnr7NYhHgK/h9iB2/r/7dieSjSqzSY5tKceW85uscClo108E9og= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894248; 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=tz2m3AzGLAp6rbicpp59Tv7oKnL2nV0vRXXbbK4VLkc=; b=aNjmnkYtN2iK9nuqHmeDVem9IH75v9eXILgp17iWo7Y6GterSlYeQgfsA4OH/oaIK+xstJeiDshxlk1b7L+e7A41YoLYHs63p79o7OUd7Y604cdptOSSu3M97AhFm7b/Hu0szjUBlVhHQnAzN3QCQmIFZvC0Aocovst7LReYlgM= 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 1594894248602168.19841977059878; Thu, 16 Jul 2020 03:10:48 -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-371-YwDaK5_POZuOk7ebBROY1Q-1; Thu, 16 Jul 2020 06:10:43 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C2D041090; Thu, 16 Jul 2020 10:10:36 +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 8B46E72AF4; Thu, 16 Jul 2020 10:10:36 +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 595A2180476C; Thu, 16 Jul 2020 10:10:36 +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 06GA6lGb019879 for ; Thu, 16 Jul 2020 06:06:47 -0400 Received: by smtp.corp.redhat.com (Postfix) id D1E7F2B6DC; Thu, 16 Jul 2020 10:06:47 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4C1012B6DB for ; Thu, 16 Jul 2020 10:06:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894247; 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=tz2m3AzGLAp6rbicpp59Tv7oKnL2nV0vRXXbbK4VLkc=; b=aw38/CRKdC4WLQcf+AQiGyUPeXIx5Az7YLPr9QFyn6G4J6cD41FYHjbXouRtWEC4eoUtRs iStc/oictrye8KXS4+5UYVNccj2GfTDbdcKppDclq5Ja0/kKtnV3W1Fwi1t30LocHyRVco a68ADjACTEi+Mhb8josg6dZ/4YB3tO8= X-MC-Unique: YwDaK5_POZuOk7ebBROY1Q-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 287/351] meson: tests: add linux specific tests Date: Thu, 16 Jul 2020 11:58:43 +0200 Message-Id: <1967bc31e18b8dc68f440272899c3856b42afa6b.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.15 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 | 53 ----------------------------------------------- tests/meson.build | 12 +++++++++++ 2 files changed, 12 insertions(+), 53 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index a7f7fd88a44..c3d77d16a07 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -27,13 +27,6 @@ test_programs +=3D \ $(NULL) endif WITH_REMOTE =20 -if WITH_LINUX -test_programs +=3D fchosttest -test_programs +=3D scsihosttest -test_programs +=3D vircaps2xmltest -test_programs +=3D virresctrltest -endif WITH_LINUX - if WITH_LIBVIRTD test_programs +=3D fdstreamtest endif WITH_LIBVIRTD @@ -139,10 +132,6 @@ if WITH_STORAGE_FS test_programs +=3D virstoragetest endif WITH_STORAGE_FS =20 -if WITH_LINUX -test_programs +=3D virscsitest -endif WITH_LINUX - if WITH_NSS test_helpers +=3D nsslinktest nssguestlinktest test_programs +=3D nsstest nssguesttest @@ -152,12 +141,6 @@ if WITH_NODE_DEVICES test_programs +=3D nodedevmdevctltest endif WITH_NODE_DEVICES =20 -if WITH_LINUX -test_programs +=3D virusbtest \ - virnetdevbandwidthtest \ - $(NULL) -endif WITH_LINUX - test_scripts =3D libvirtd_test_scripts =3D \ libvirtd-fail \ @@ -604,16 +587,6 @@ viridentitytest_DEPENDENCIES =3D libsecurityselinuxhel= per.la \ ../src/libvirt.la endif WITH_SELINUX =20 -if WITH_LINUX -vircaps2xmltest_SOURCES =3D \ - vircaps2xmltest.c testutils.h testutils.c virfilewrapper.h virfilewrapper= .c -vircaps2xmltest_LDADD =3D $(LDADDS) - -virresctrltest_SOURCES =3D \ - virresctrltest.c testutils.h testutils.c virfilewrapper.h virfilewrapper.c -virresctrltest_LDADD =3D $(LDADDS) -endif ! WITH_LINUX - if WITH_NSS nsstest_SOURCES =3D \ nsstest.c testutils.h testutils.c @@ -666,16 +639,6 @@ test_programs +=3D \ virnetdevopenvswitchtest endif ! WITH_YAJL =20 -if WITH_LINUX -virusbtest_SOURCES =3D \ - virusbtest.c testutils.h testutils.c -virusbtest_LDADD =3D $(LDADDS) - -virnetdevbandwidthtest_SOURCES =3D \ - virnetdevbandwidthtest.c testutils.h testutils.c -virnetdevbandwidthtest_LDADD =3D $(LDADDS) $(LIBXML_LIBS) -endif ! WITH_LINUX - if WITH_DBUS virdbustest_SOURCES =3D \ virdbustest.c testutils.h testutils.c @@ -736,19 +699,3 @@ endif WITH_LIBVIRTD fdstreamtest_SOURCES =3D \ fdstreamtest.c testutils.h testutils.c fdstreamtest_LDADD =3D $(LDADDS) - -if WITH_LINUX -fchosttest_SOURCES =3D \ - fchosttest.c testutils.h testutils.c -fchosttest_LDADD =3D $(LDADDS) - -scsihosttest_SOURCES =3D \ - scsihosttest.c testutils.h testutils.c -scsihosttest_LDADD =3D $(LDADDS) -endif ! WITH_LINUX - -if WITH_LINUX -virscsitest_SOURCES =3D \ - virscsitest.c testutils.h testutils.c -virscsitest_LDADD =3D $(LDADDS) -endif ! WITH_LINUX diff --git a/tests/meson.build b/tests/meson.build index 143b3126c43..ed0731ecc42 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -323,6 +323,18 @@ tests +=3D [ { 'name': 'vshtabletest', 'link_with': [ libvirt_shell_lib ] }, ] =20 +if host_machine.system() =3D=3D 'linux' + tests +=3D [ + { 'name': 'fchosttest' }, + { 'name': 'scsihosttest' }, + { 'name': 'vircaps2xmltest', 'link_with': [ test_file_wrapper_lib ] }, + { 'name': 'virnetdevbandwidthtest' }, + { 'name': 'virresctrltest', 'link_with': [ test_file_wrapper_lib ] }, + { 'name': 'virscsitest' }, + { 'name': 'virusbtest' }, + ] +endif + foreach data : tests test_sources =3D '@0@.c'.format(data['name']) test_bin =3D executable( --=20 2.26.2