From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.web09.4377.1624433019706060783 for ; Wed, 23 Jun 2021 00:23:39 -0700 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: pierre.gondois@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 2F8FAED1; Wed, 23 Jun 2021 00:23:29 -0700 (PDT) Received: from e120189.arm.com (unknown [10.57.78.245]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id DFEE83F719; Wed, 23 Jun 2021 00:23:27 -0700 (PDT) From: "PierreGondois" To: devel@edk2.groups.io, Sean Brogan , Bret Barkelew , Michael D Kinney , Liming Gao , Sami Mujawar Subject: [PATCH v1 0/4] Allow EccCheck to run on other repositories Date: Wed, 23 Jun 2021 08:22:46 +0100 Message-Id: <20210623072250.3277-1-Pierre.Gondois@arm.com> X-Mailer: git-send-email 2.17.1 From: Pierre Gondois EccCheck currently makes some assumptions on its working environment that prevent it from running it in other repositories. For instance, the workspace is assumed to be pointing to the edk2 repository path, which can be wrong. This patch-set aims to allow the EccCheck tool to run on the edk2-platforms repository, with edk2 being a submodule of edk2-platforms. Pierre Gondois (4): .pytool/EccCheck: Locate BaseTools dir with EDK_TOOLS_PATH .pytool/EccCheck: Rename edk2_path as workspace_path .pytool/EccCheck: Check ecc_csv exists .pytool/EccCheck: Set PACKAGES_PATH env var in Ecc .pytool/Plugin/EccCheck/EccCheck.py | 46 +++++++++++++++-------------- 1 file changed, 24 insertions(+), 22 deletions(-) -- 2.17.1