From nobody Mon May 20 01:44:54 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) client-ip=170.10.133.124; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-delivery-124.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 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=1628668537; cv=none; d=zohomail.com; s=zohoarc; b=Y65LcKLA+QbhKJO9LbiS78ZuLgjY3aHO/ArbeYS38+KFizUPrJGtg9FXIPClMyccCGYdyyK+tPPYtpg4W4dJ4py904gtyHAy7aFbCUDM+txbbBC/GZtvwWcnHCv2bFxIyAYTnGzebt59VvXlD9ZfxEK0fp8tK55YG4DdQq+n3vE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1628668537; h=Content-Type:Content-Transfer-Encoding:Date:From:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To; bh=wkWz7xu8Gg93u25SIhKaZ+gC1CivmjMCFu7gISHku5I=; b=OD0JkmJWYygXpVltKRcc1CIV4KxVztwGPxXe3htGpq/5HJRmxo0EwdBZjn61JNE3xCwajC8hLzVb9BCzf2JBjswTTRt/XbIrz7W+ggNYMwqIYnqKx/eSvV+cq/TifTWm99F+9fp5I6v2RDoYuRZVlmEenJaYeB2WoMGyeLvLeFo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 170.10.133.124 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) Return-Path: Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mx.zohomail.com with SMTPS id 1628668537014118.24498316260156; Wed, 11 Aug 2021 00:55:37 -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-526-v2u8ZZ-xOlSuc_JwYQ-bLA-1; Wed, 11 Aug 2021 03:55:33 -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 F09811853026; Wed, 11 Aug 2021 07:55:28 +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 D2AD060C9D; Wed, 11 Aug 2021 07:55:28 +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 A124C4A7C9; Wed, 11 Aug 2021 07:55:28 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 17B7iPXR012036 for ; Wed, 11 Aug 2021 03:44:25 -0400 Received: by smtp.corp.redhat.com (Postfix) id 56BAD7A8D6; Wed, 11 Aug 2021 07:44:25 +0000 (UTC) Received: from hjs.redhat.com (unknown [10.43.2.53]) by smtp.corp.redhat.com (Postfix) with ESMTP id D43196A05F for ; Wed, 11 Aug 2021 07:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1628668536; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=wkWz7xu8Gg93u25SIhKaZ+gC1CivmjMCFu7gISHku5I=; b=YW0M6HkD64cHyFxnUCMM4YGXRrlh8wlsePDUC3Z90phptIzQ7wjncE8uhpgf77O8vdHOAQ ddOcn2e1ObrSoCjqzK3z0g9oI+9c2s7ukP/0lyXg8tcMQG6rH/T17nROKl3V73Dmrk4pOF e7UCOVsiFe1vH4eQKnIA+vMlks9YZrc= X-MC-Unique: v2u8ZZ-xOlSuc_JwYQ-bLA-1 From: =?UTF-8?q?J=C3=A1n=20Tomko?= To: libvir-list@redhat.com Subject: [libvirt PATCH] run: set abs_builddir variables Date: Wed, 11 Aug 2021 09:44:11 +0200 Message-Id: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 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 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-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) X-ZM-MESSAGEID: 1628668538635100001 test-lib.sh needs these to be set. Export them so that the virsh-* tests can be run using: builddir$ ./run srcdir/tests/virsh-snapshot Signed-off-by: J=C3=A1n Tomko Reviewed-by: Andrea Bolognani --- meson.build | 1 + run.in | 3 +++ 2 files changed, 4 insertions(+) diff --git a/meson.build b/meson.build index 32ad688c9c..5af09d319a 100644 --- a/meson.build +++ b/meson.build @@ -2233,6 +2233,7 @@ configure_file(output: 'meson-config.h', configuratio= n: conf) # generate run helper run_conf =3D configuration_data() run_conf.set('abs_builddir', meson.build_root()) +run_conf.set('abs_top_builddir', meson.build_root()) configure_file( input: 'run.in', output: '@BASENAME@', diff --git a/run.in b/run.in index 9aae27a79e..64f99751fe 100644 --- a/run.in +++ b/run.in @@ -80,6 +80,9 @@ env["LIBVIRT_DIR_OVERRIDE"] =3D "1" # read problems when using glibc. env["MALLOC_PERTURB_"] =3D "%d" % random.randint(1, 255) =20 +env["abs_builddir"] =3D "@abs_builddir@" +env["abs_top_builddir"] =3D "@abs_top_builddir@" + modular_daemons =3D [ "virtinterfaced", "virtlxcd", --=20 2.31.1