From nobody Mon Feb 9 03:16:13 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=1594894743; cv=none; d=zohomail.com; s=zohoarc; b=k7KGqAO/bE3U6PJZpc7dDNBvkbsb6YOxUVeGgogGPNer2HIAf5Y41qynL6ET3SIk61ULsk+Qh5j1z3aUhDer2BT1j2wcctxLblRTrmevBuvqnxA1nhB5/RjaMJAve9Hx1ZG8iOK4smxEOb3pvmj6lJ/iu8Cpif1rOYSdEcDg/xA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894743; 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=zoNv/9riOE5/4mR25bbJIRrfM1rB2abV8glt8IF7Tm0=; b=R4SXLBzWGelOARnp0BehvKJ54ApkHzLCtylm9Qg4MCHE8TFTtr7y+GKbUgPb48FfRFkFzGE34yGOpiTJcXd/TaK65h63+aXz9pC+xFucJQp3Mnah0kz/UaxHyxM6pIdTNnvlbGVRyqH9NpkeEpoyoAFUmK37BacaFYsVJiwcXAw= 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 1594894743972823.0875570318647; Thu, 16 Jul 2020 03:19:03 -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-245-jMj3ModROoaq4FOwZi_q_g-1; Thu, 16 Jul 2020 06:09:38 -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 8EEAE1888AAA; Thu, 16 Jul 2020 10:09:31 +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 6F7F572ACF; Thu, 16 Jul 2020 10:09:31 +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 3C5FF9A332; Thu, 16 Jul 2020 10:09:31 +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 06GA7Fas020454 for ; Thu, 16 Jul 2020 06:07:15 -0400 Received: by smtp.corp.redhat.com (Postfix) id 82B202DE73; Thu, 16 Jul 2020 10:07:15 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id F21EA2DE6D for ; Thu, 16 Jul 2020 10:07:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894742; 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=zoNv/9riOE5/4mR25bbJIRrfM1rB2abV8glt8IF7Tm0=; b=ZOoq2WpVQ+mIsGJvVaaiy3/n5NvLDEaVh+EXQJVYtRgMiVrRv8usFIvxnsPGbPqUROi/qh TcdWN447K4cKM8OnKizu6QvBmt/vGtKeiNvy/cI9IOEa9/TOyJXYyUpktb7FwBEmQB8yoa 9PM/DGLM14EgHD+WJAIm1PWkYIB/4C0= X-MC-Unique: jMj3ModROoaq4FOwZi_q_g-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 311/351] meson: tests: add test scripts Date: Thu, 16 Jul 2020 11:59:07 +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.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 | 34 ---------------------------------- tests/meson.build | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 34 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 939d97a9985..641ed7b390b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -16,38 +16,6 @@ ## License along with this library. If not, see ## . =20 -test_scripts =3D -libvirtd_test_scripts =3D \ - libvirtd-fail \ - libvirtd-pool \ - virsh-auth \ - virsh-cpuset \ - virsh-define-dev-segfault \ - virsh-int-overflow \ - virsh-optparse \ - virsh-read-bufsiz \ - virsh-read-non-seekable \ - virsh-schedinfo \ - virsh-self-test \ - virt-admin-self-test \ - virsh-checkpoint \ - virsh-snapshot \ - virsh-start \ - virsh-undefine \ - virsh-uriprecedence \ - virsh-vcpupin \ - $(NULL) - -if WITH_LIBVIRTD -test_scripts +=3D $(libvirtd_test_scripts) -endif ! WITH_LIBVIRTD - -if WITH_SECDRIVER_APPARMOR -if WITH_LIBVIRTD -test_scripts +=3D virt-aa-helper-test -endif WITH_LIBVIRTD -endif WITH_SECDRIVER_APPARMOR - if WITH_LINUX check-access: file-access-clean VIR_TEST_FILE_ACCESS=3D1 $(MAKE) $(AM_MAKEFLAGS) check @@ -60,8 +28,6 @@ file-access-clean: endif WITH_LINUX =20 =20 -TESTS =3D $(test_scripts) - VALGRIND =3D valgrind --quiet --leak-check=3Dfull --trace-children=3Dyes \ --trace-children-skip=3D"*/tools/virsh","*/tests/commandhelper","/usr/bin= /*" \ --suppressions=3D$(abs_srcdir)/.valgrind.supp diff --git a/tests/meson.build b/tests/meson.build index 5df9973ccf9..d6e0d2805d7 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -628,3 +628,40 @@ foreach data : helpers export_dynamic: true, ) endforeach + + +# test_scripts: +# list of test scripts to run +test_scripts =3D [] + +if conf.has('WITH_LIBVIRTD') + test_scripts +=3D [ + 'libvirtd-fail', + 'libvirtd-pool', + 'virsh-auth', + 'virsh-checkpoint', + 'virsh-cpuset', + 'virsh-define-dev-segfault', + 'virsh-int-overflow', + 'virsh-optparse', + 'virsh-read-bufsiz', + 'virsh-read-non-seekable', + 'virsh-schedinfo', + 'virsh-self-test', + 'virsh-snapshot', + 'virsh-start', + 'virsh-undefine', + 'virsh-uriprecedence', + 'virsh-vcpupin', + 'virt-admin-self-test', + ] + + if conf.has('WITH_SECDRIVER_APPARMOR') + test_scripts +=3D 'virt-aa-helper-test' + endif +endif + +foreach name : test_scripts + script =3D find_program(name) + test(name, script, env: tests_env) +endforeach --=20 2.26.2