From nobody Sun Feb 8 21:48:50 2026 Delivered-To: importer@patchew.org Received-SPF: none (zohomail.com: 205.139.110.61 is neither permitted nor denied by domain of redhat.com) client-ip=205.139.110.61; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=none (zohomail.com: 205.139.110.61 is neither permitted nor denied by domain of redhat.com) 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=1597758276; cv=none; d=zohomail.com; s=zohoarc; b=RcAXDcF0wYrPmT37lOj72Ri4s0fvJ1w16RTsmCSEfUiDv2fcq03U8GVF5cvHzPUmN4Gcw+a7zIm3TJzxka6PuVSDNKYIuYGaklpDfgmdOeI+ukJSjsYSg5A7azNOkV1oIimQC4wtPjA+9WdQYkfUIjV46fNTIL4cRVPodDJRQYM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1597758276; 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=UcIkj3J9mDSHvK6WtxRQsAjWy0CtotsH+xLAC+ZM03U=; b=mgTfTtfGDn8SS4MF9SZgxEilbGg9X62CmqotNaV+chgZbIfwlnW9Aj5CU+Jlkys7wfIXel2saD5+6q6Z1iAqcwWGCgzTXnRrPTh5sZYv3w1mHZEn0V34Ycs1FohGoG/dmAbc6MvcZNXnlOhuUGbPHx+uevyXvpMA7myTyyLRLIw= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=none (zohomail.com: 205.139.110.61 is neither permitted nor denied by domain of redhat.com) 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-2.mimecast.com [205.139.110.61]) by mx.zohomail.com with SMTPS id 1597758276166308.64909178144967; Tue, 18 Aug 2020 06:44:36 -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-22-nqmofVv0NNuYzUshJ-B7Vw-1; Tue, 18 Aug 2020 09:44:32 -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 727D781F036; Tue, 18 Aug 2020 13:44:23 +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 B7207756BD; Tue, 18 Aug 2020 13:44:22 +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 F3A8F6034C; Tue, 18 Aug 2020 13:44:20 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 07IDiIJV028572 for ; Tue, 18 Aug 2020 09:44:18 -0400 Received: by smtp.corp.redhat.com (Postfix) id 877BA5C896; Tue, 18 Aug 2020 13:44:18 +0000 (UTC) Received: from antique-work.redhat.com (unknown [10.40.194.66]) by smtp.corp.redhat.com (Postfix) with ESMTP id F22545C88D for ; Tue, 18 Aug 2020 13:44:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1597758275; 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=UcIkj3J9mDSHvK6WtxRQsAjWy0CtotsH+xLAC+ZM03U=; b=OLyEGvIyDXZuuDgWn8oQhYdZJ5cJZEMYzhyyJvZf1OPuYSJyNJGxiEsJ+kORqjjlZle/YB OR9rzYDAkUpSaj7O/bdhmOrjocvt/uFv/4ZmGptqOaqpehEIkw85FKZtLuMbYDn4eV/5rP q79B3qfJUNuGNBe5K5s4sU85QOLKJAI= X-MC-Unique: nqmofVv0NNuYzUshJ-B7Vw-1 From: Pavel Hrdina To: libvir-list@redhat.com Subject: [libvirt PATCH 1/2] src/meson: introduce srcdir and builddir into augeas_test_data dictionary Date: Tue, 18 Aug 2020 15:44:09 +0200 Message-Id: <264a1e5e836bf6d24a4677021a7b28b77fb96ba9.1597758182.git.phrdina@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 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.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" This will be used later to specify different include directories for augparse binary to run augeas tests. Signed-off-by: Pavel Hrdina --- src/meson.build | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/src/meson.build b/src/meson.build index b1c9993bc0..96ec3e2675 100644 --- a/src/meson.build +++ b/src/meson.build @@ -689,6 +689,8 @@ endforeach # each entry is a dictionary with following items: # * name: daemon name to run the test for (required) # * file: test file to use (required) +# * srcdir: path to source dir with aug files (required) +# * builddir: path to build dir with aug files (required) augeas_test_data =3D [] =20 foreach data : virt_daemon_confs @@ -753,7 +755,12 @@ foreach data : virt_daemon_confs install: true, install_dir: virt_test_aug_dir, ) - augeas_test_data +=3D { 'name': data['name'], 'file': augeas_test_file } + augeas_test_data +=3D { + 'name': data['name'], + 'file': augeas_test_file, + 'srcdir': meson.current_source_dir(), + 'builddir': meson.current_build_dir(), + } endforeach =20 =20 @@ -960,8 +967,8 @@ if augparse_prog.found() 'check-augeas-@0@'.format(data['name']), augparse_prog, args: [ - '-I', meson.current_source_dir(), - '-I', meson.current_build_dir(), + '-I', data['srcdir'], + '-I', data['builddir'], data['file'].full_path(), ], ) --=20 2.26.2