02fcfdce1e
BaseTools: Update WindowsVsToolChain plugin
...
This patch updates edk2-pytool-library dependency to v0.14.0, which has
an interface change to FindWithVsWhere. The BaseTools plugin uses this
function, so it is being updated to account for the interface change.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Yuwei Chen <yuwei.chen@intel.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Joey Vagedes <joeyvagedes@microsoft.com >
Acked-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn >
2023-02-16 18:54:33 +00:00
6bb00aa484
BaseTools/Plugin: Add coverage support for Unit Test
...
For GCC, use lcov to generate Unit Test code coverage
report
For VS2019, use OpenCppCoverage to generate code
coverage report
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Liming Gao <gaoliming@bysoft.com.cn >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Reviewed-by: Michael Kubacki <mikuback@linux.microsoft.com >
Signed-off-by: Gua Guo <gua.guo@intel.com >
2023-01-04 02:06:01 +00:00
31377aba8f
BaseTools/Plugin/HostBaseUnitTestRunner: Enable gtest xml output
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4134
Set environment variable GTEST_OUTPUT to specify the output
format of XML and the output file name. Both CMOCKA_XML_FILE
and GTEST_OUTPUT are set for each host based unit test to
support both cmocka unit tests and gtest unit tests.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Yuwei Chen <yuwei.chen@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com >
2022-11-11 05:46:51 +00:00
bcdafe1179
BaseTools: Enable LoongArch64 architecture for LoongArch64 EDK2 CI.
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053
EDK CI for LoongArch64 architecture
Enable LoongArch64 architecture for LoongArch64 EDK2 CI testing.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <gaoliming@byosoft.com.cn >
Cc: Yuwei Chen <yuwei.chen@intel.com >
Signed-off-by: Chao Li <lichao@loongson.cn >
Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com >
2022-10-14 02:16:33 +00:00
1ce6ceb75b
BaseTools: Switch to downloading the AARCH64 compiler from Arm's site
...
Linaro no longer do gcc releases - they're done by Arm now.
Update gcc_aarch64_linux_ext_dep.yaml to fetch the latest AARCH64 gcc
release (10.3-2021.07) from their site and fix LinuxGcc5ToolChain.py with the
new GCC_AARCH64_PREFIX.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com >
Acked-by: Leif Lindholm <leif@nuviainc.com >
Acked-by: Liming Gao <gaoliming@byosoft.com.cn >
Acked-by: Ard Biesheuvel <ardb@kernel.org >
Reviewed-by: Pierre Gondois <Pierre.Gondois@arm.com >
Acked-by: Bob Feng <bob.c.feng@intel.com >
2021-09-29 11:41:36 +00:00
2ea0a0a414
BaseTools: Switch to downloading the ARM compiler from Arm's site
...
Linaro no longer do gcc releases - they're done by Arm now.
Update gcc_arm_linux_ext_dep.yaml to fetch the latest ARM gcc release
(10.3-2021.07) from their site and fix LinuxGcc5ToolChain.py with the
new GCC_ARM_PREFIX.
Signed-off-by: Rebecca Cran <rebecca@bsdio.com >
Acked-by: Leif Lindholm <leif@nuviainc.com >
Acked-by: Liming Gao <gaoliming@byosoft.com.cn >
Acked-by: Ard Biesheuvel <ardb@kernel.org >
Reviewed-by: Pierre Gondois <Pierre.Gondois@arm.com >
Acked-by: Bob Feng <bob.c.feng@intel.com >
2021-09-29 11:41:36 +00:00
c8543b8d83
BaseTools/Plugin: Update HostBasedUnitTestRunner to support Linux
...
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2513
Update HostBasedUnitTestRunner plugin to support the Linux environment
and remove any Windows only logic.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Signed-off-by: Sean Brogan <sean.brogan@microsoft.com >
Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com >
Reviewed-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2020-05-08 05:54:46 +00:00
ea56fa3d47
BaseTools: Enable RISC-V architecture for RISC-V EDK2 CI.
...
BZ:2562:
https://bugzilla.tianocore.org/show_bug.cgi?id=2562
EDK CI for RISC-V architecture
Enable RISC-V architecture for RISC-V EDK2 CI testing.
Signed-off-by: Abner Chang <abner.chang@hpe.com >
Reviewed-by: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Leif Lindholm <leif@nuviainc.com >
Cc: Michael D Kinney <michael.d.kinney@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Cc: Gilbert Chen <gilbert.chen@hpe.com >
Cc: Daniel Helmut Schaefer <daniel.schaefer@hpe.com >
2020-05-07 03:17:15 +00:00
776ec4ea3c
BaseTools/WindowsVsToolChain.py: Update toolchain plugin
...
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2659
Allow WindowsVsToolChain Plugin to add libraries and headers
of user defined ARCH for VS2017 and VS2019.
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Shenglei Zhang <shenglei.zhang@intel.com >
Reviewed-by: Bret Barkelew <bret.barkelew@microsoft.com >
2020-04-13 03:13:36 +00:00
0a5d2b505c
BaseTools/Plugin: Add HostBasedUnitTestRunner plugin
...
https://bugzilla.tianocore.org/show_bug.cgi?id=2505
Add plugin to BaseTools to run host based unit tests.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com >
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Bret Barkelew <Bret.Barkelew@microsoft.com >
Acked-by: Bob Feng <bob.c.feng@intel.com >
2020-02-07 19:18:53 +00:00
3b4ad37ebe
BaseTools/WindowsVsToolChain: Setup VS2017/VS2019 env
...
https://bugzilla.tianocore.org/show_bug.cgi?id=2495
Update the WindowsVsToolChain plugin to setup the VS2017
or VS2019 development environment. This is required to
build BaseTools and Structured PCD host applications.
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com >
2020-02-07 07:04:16 +00:00
d14feb6cb7
BaseTools/WindowsVsToolChain: Clean up Python source formatting
...
https://bugzilla.tianocore.org/show_bug.cgi?id=2495
Cc: Sean Brogan <sean.brogan@microsoft.com >
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Bob Feng <bob.c.feng@intel.com >
2020-02-07 07:04:16 +00:00
de4ce46d6e
BaseTools: Add BaseTools plugins to support CI
...
https://bugzilla.tianocore.org/show_bug.cgi?id=2315
Add the following plugins that are required to support
EDK II Continuous Integration (CI) builds. These plugins
are added to BaseTools because that support EDK II BaseTools
features.
* BuildToolsReportGenerator
* LinuxGcc5ToolChain
* WindowsResourceCompiler
* WindowsVsToolChain
Cc: Bob Feng <bob.c.feng@intel.com >
Cc: Liming Gao <liming.gao@intel.com >
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com >
Reviewed-by: Liming Gao <liming.gao@intel.com >
2019-11-11 13:01:58 -08:00