From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mx.groups.io with SMTP id smtpd.web10.33684.1672658708467805152 for ; Mon, 02 Jan 2023 03:25:09 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=TBeOvKRZ; spf=pass (domain: intel.com, ip: 134.134.136.100, mailfrom: gua.guo@intel.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1672658708; x=1704194708; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=gCRw11NrvOdnDYPp9dMp5+4zpER8MyDvfbV5BZTXCzQ=; b=TBeOvKRZJILmZxmNE2pjtvCxChpn6GKkvmBi0haDqTpnKk8hvK8z8EkU wOYXjAKcuMYAC5QTYCl6jEP3yJEH45+MMsqQOOcC/Pe80K2DBLaIYKaNZ 99Co5P6FEZLbKaHU8io8ZhPFqCZvNnG9+Sjuo/WYg7xDzdZNtT6VcEnRE SD8NbJXsTKnnyH5vPMR1FJfIekaqhCmyPLlukeOO9ahWA8q0we5l6/bzG F2l3HvDq+acATmJvFdTlB+KN5Dh3Zaly0S3rfc4pnmFTA033+6vtkTVCp 95w8GQbGC+yTyyRYPyeiljzXwBs2hPw1/0BBKgkrbGFyCT3TF932KOzt6 g==; X-IronPort-AV: E=McAfee;i="6500,9779,10577"; a="385903965" X-IronPort-AV: E=Sophos;i="5.96,293,1665471600"; d="scan'208";a="385903965" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 02 Jan 2023 03:25:07 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10577"; a="656454227" X-IronPort-AV: E=Sophos;i="5.96,293,1665471600"; d="scan'208";a="656454227" Received: from gguo-desk.gar.corp.intel.com ([10.5.215.23]) by fmsmga007.fm.intel.com with ESMTP; 02 Jan 2023 03:25:06 -0800 From: "Guo, Gua" To: devel@edk2.groups.io Cc: Gua Guo Subject: [PATCH v8 0/3] Add code coverage support for GCC/MSVC Date: Mon, 2 Jan 2023 19:24:59 +0800 Message-Id: X-Mailer: git-send-email 2.31.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Gua Guo V1: Add coverage option for GCC V2: Add ReadMe.md for how to generate coverage report V3: Add VS2019 and GCC code coverage support V4: Add VS2019 and GCC Azure CI/CD support V5: Fix some typo and some flow issue V6: Remove html coverage information - Due to python 3.11 install lxml will be failure, pycobertura need it to convert cobertura format to html file. - Add section for developer how to use OpenCppCoverage on IDE Visual Studio V7: Remove redundant code and add code coverage pipeline support - Remove redundant code on HostBasedUnitTestRunner.py - Unify coding rule on HostBasedUnitTestRunner.py - Add CodeCoverage Azure pipeline support for GCC5 and VS2019 Gua Guo (3): UnitTestFrameworkPkg: Add code coverage support for GCC BaseTools/Plugin: Add coverage support for Unit Test .azurepipelines: Install code coverage tool .azurepipelines/Ubuntu-GCC5.yml | 5 +- .azurepipelines/Windows-VS2019.yml | 5 + .../templates/pr-gate-build-job.yml | 36 +++++++ .azurepipelines/templates/pr-gate-steps.yml | 4 + .../HostBasedUnitTestRunner.py | 101 +++++++++++++++++- UnitTestFrameworkPkg/ReadMe.md | 41 +++++++ .../UnitTestFrameworkPkg.ci.yaml | 1 + .../UnitTestFrameworkPkgHost.dsc.inc | 3 +- pip-requirements.txt | 2 + 9 files changed, 195 insertions(+), 3 deletions(-) -- 2.31.1.windows.1