From nobody Sun Feb 8 18:09:35 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=1594894161; cv=none; d=zohomail.com; s=zohoarc; b=hoJvGJfytB1BBy5jAfOXG1acdMvHGNbJviQjby/7GqtXMyG+ITLfspI0a7xsu7dg9ogsMNKbyuPI1fd5WBeij0Ff7nBXhSRWonFHRBvi2yWNNDPjzJkAiMms+OttVhRWGRTL6ZG0CTQrKFaDW4EuUhW9nhaL1+NgrjldmhtEam4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1594894161; 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=E8dVAioYJm0U/RIxyOBnlP1L5k8TqV4QgSFDBPp+vlc=; b=F24wYavuycmlXWawV+2yp+bMQmWoqMqL9VoxfY4eKbyeEGDWlGlAluX4X3xalyjqvpqJ/36Xr0OObmQmeyS4A59WZwIlFKAm3XTtKBQFPL+aEUHmEE/xX5rhD0wWGtarTeCPMlUh2CZJfKV1scoWd44u0fU32PGTkGagYCc+xSY= 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 1594894161034359.07357034987876; Thu, 16 Jul 2020 03:09:21 -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-110-4PbTABHDP424mr541JzYwQ-1; Thu, 16 Jul 2020 06:09:17 -0400 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id B8353100AA23; Thu, 16 Jul 2020 10:09:11 +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 970B917D04; Thu, 16 Jul 2020 10:09:11 +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 630DD18184AE; Thu, 16 Jul 2020 10:09:11 +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 06GA6iOa019842 for ; Thu, 16 Jul 2020 06:06:44 -0400 Received: by smtp.corp.redhat.com (Postfix) id 3B27C2B6DC; Thu, 16 Jul 2020 10:06:44 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.85]) by smtp.corp.redhat.com (Postfix) with ESMTP id AA7CD2B6DB for ; Thu, 16 Jul 2020 10:06:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594894159; 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=E8dVAioYJm0U/RIxyOBnlP1L5k8TqV4QgSFDBPp+vlc=; b=jDf0bzE9Q6q2Ys87t9eR0ALVFlemRuZASi/67Crg1pyCLAjBIKxHPQbwJyRcjtPQHRy5H5 lF0ZZYVWrdFfJctIpjk7LltaSYk7CYKMdp8DNMBpT6we2BG6edVxnbEYyV6OANFhWS1iO1 2mBRjFP/29CSTrxxMzt8jtUZ5JUPSSo= X-MC-Unique: 4PbTABHDP424mr541JzYwQ-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 283/351] meson: tests: add test environment variables Date: Thu, 16 Jul 2020 11:58:39 +0200 Message-Id: <486aa24e834f09f788b22364f7356227bd05200b.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.14 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com 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 | 12 ------------ tests/meson.build | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 12 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile.am index 5591c999f11..fc48527792b 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -300,18 +300,6 @@ endif ! WITH_TESTS TESTS =3D $(test_programs) \ $(test_scripts) =20 -VIR_TEST_EXPENSIVE ?=3D $(VIR_TEST_EXPENSIVE_DEFAULT) -TESTS_ENVIRONMENT =3D \ - abs_top_builddir=3D"$(abs_top_builddir)" \ - abs_top_srcdir=3D"$(abs_top_srcdir)" \ - abs_builddir=3D"$(abs_builddir)" \ - abs_srcdir=3D"$(abs_srcdir)" \ - LIBVIRT_AUTOSTART=3D0 \ - LC_ALL=3DC \ - VIR_TEST_EXPENSIVE=3D$(VIR_TEST_EXPENSIVE) \ - $(VG) - - 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 d825526dc78..cc83159934f 100644 --- a/tests/meson.build +++ b/tests/meson.build @@ -29,6 +29,21 @@ tests_dep =3D declare_dependency( link_args: libvirt_export_dynamic, ) =20 +tests_env =3D [ + 'abs_builddir=3D@0@'.format(meson.current_build_dir()), + 'abs_srcdir=3D@0@'.format(meson.current_source_dir()), + 'abs_top_builddir=3D@0@'.format(meson.build_root()), + 'abs_top_srcdir=3D@0@'.format(meson.source_root()), + 'LC_ALL=3DC', + 'LIBVIRT_AUTOSTART=3D0', +] + +if use_expensive_tests + tests_env +=3D 'VIR_TEST_EXPENSIVE=3D1' +else + tests_env +=3D 'VIR_TEST_EXPENSIVE=3D0' +endif + =20 # mock_libs: # each entry is a dictionary with following items: --=20 2.26.2