From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.94050.1670987992757650940 for ; Tue, 13 Dec 2022 19:19:53 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="unable to parse pub key" header.i=@intel.com header.s=intel header.b=PlZJir9g; spf=pass (domain: intel.com, ip: 192.55.52.115, 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=1670987992; x=1702523992; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=lOTlFLZo0uHNSMg2yWNWesMCz8dhEkvtxS97yIwqXjs=; b=PlZJir9gx2lFIZdKP83UerN4lEGpwKfo5BtKkageYS5/3vZoP3vkBaJQ ieua+j9Z/dnE9kRaKaE/s4We9GgKbEf63CWeoy2NVYOD3Nn5Zdfmk7PVn Dac4QZgSs35J/KT+1uI6+RQdJtKhgGrmXnZevlB4sfk8w5HyvjCzqR7Yd ur2F9WE6B/72ObLPNTlWP2BL2gk1jbyIwTe6Cgr0Mti3kwlL04a0lr5Ff nCUN267d70GQokP6UgKWlsTdjOIVWVVhPzEqnScmRj15sVtxhA7R6eXEg HywqD3uY/xRzW3GfZLjmJr2n/JwlM4Rw4CZ1oL55kJ2MmQkSdAJfBv40G w==; X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="318342283" X-IronPort-AV: E=Sophos;i="5.96,243,1665471600"; d="scan'208";a="318342283" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 13 Dec 2022 19:19:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10560"; a="823110061" X-IronPort-AV: E=Sophos;i="5.96,243,1665471600"; d="scan'208";a="823110061" Received: from gguo-desk.gar.corp.intel.com ([10.5.215.23]) by orsmga005.jf.intel.com with ESMTP; 13 Dec 2022 19:19:49 -0800 From: "Guo, Gua" To: devel@edk2.groups.io Cc: Gua Guo Subject: [PATCH v6 0/3] Add code coverage support for GCC/MSVC Date: Wed, 14 Dec 2022 11:19:42 +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 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 | 2 + .azurepipelines/templates/pr-gate-steps.yml | 4 + .../HostBasedUnitTestRunner.py | 100 ++++++++++++++++++ UnitTestFrameworkPkg/ReadMe.md | 45 +++++++- .../UnitTestFrameworkPkg.ci.yaml | 1 + .../UnitTestFrameworkPkgHost.dsc.inc | 3 +- pip-requirements.txt | 2 + 9 files changed, 163 insertions(+), 4 deletions(-) -- 2.31.1.windows.1