All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Add Binman code-coverage test to CI
@ 2024-06-23 17:56 Simon Glass
  2024-06-23 17:56 ` [PATCH v3 1/6] buildman: Add python3-coverage Simon Glass
                   ` (5 more replies)
  0 siblings, 6 replies; 19+ messages in thread
From: Simon Glass @ 2024-06-23 17:56 UTC (permalink / raw)
  To: U-Boot Mailing List
  Cc: Tom Rini, Simon Glass, Alexey Brodkin, Alexey Brodkin,
	Andrejs Cainikovs, Heinrich Schuchardt, Leo Yu-Chi Liang,
	Marek Vasut, Neha Malcom Francis, Quentin Schulz, Sean Anderson

Binman has 100% code coverage to ensure that future changes and
refactors do not break existing entry types. This is a critical feature,
given that it is relied on to produce images for all sorts of different
SoCs and vendors.

With the NXP additions the 'binman test -T' step was missed, so the
Binman coverage test is currently failing.

This series provides a means to close the testing gap. It cannot be
applied until the tests are added, which should happen before -next is
applied to -master

Changes in v3:
- Drop the PATH modification altogether

Changes in v2:
- Add new patch to fix a few typos in toolchain code
- Add to azure also (oops)
- Add to buildman requirements instead

Simon Glass (6):
  buildman: Add python3-coverage
  buildman: Add python3-pycryptodome
  buildman: Fix a few typos in toolchain code
  buildman: Always use the full path in CROSS_COMPILE
  u_boot_pylib: Use correct coverage tool within venv
  CI: Run code-coverage test for Binman

 .azure-pipelines.yml            |  5 ++-
 .gitlab-ci.yml                  |  4 +-
 tools/buildman/bsettings.py     |  3 ++
 tools/buildman/builder.py       |  5 +--
 tools/buildman/builderthread.py |  4 +-
 tools/buildman/cmdline.py       |  2 -
 tools/buildman/control.py       |  6 +--
 tools/buildman/requirements.txt |  2 +
 tools/buildman/test.py          | 75 +++++++++++++++++++++++++++++++++
 tools/buildman/toolchain.py     | 24 +++++------
 tools/u_boot_pylib/test_util.py | 11 +++--
 11 files changed, 111 insertions(+), 30 deletions(-)

-- 
2.34.1


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2024-07-15 13:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-23 17:56 [PATCH v3 0/6] Add Binman code-coverage test to CI Simon Glass
2024-06-23 17:56 ` [PATCH v3 1/6] buildman: Add python3-coverage Simon Glass
2024-07-15 13:31   ` Simon Glass
2024-06-23 17:56 ` [PATCH v3 2/6] buildman: Add python3-pycryptodome Simon Glass
2024-07-15 13:31   ` Simon Glass
2024-06-23 17:56 ` [PATCH v3 3/6] buildman: Fix a few typos in toolchain code Simon Glass
2024-07-15 13:31   ` Simon Glass
2024-06-23 17:56 ` [PATCH v3 4/6] buildman: Always use the full path in CROSS_COMPILE Simon Glass
2024-06-24 15:49   ` Tom Rini
2024-06-25  0:06   ` Andrejs Cainikovs
2024-06-25 12:38     ` Simon Glass
2024-06-25 15:16       ` Andrejs Cainikovs
2024-06-26  8:00         ` Simon Glass
2024-06-26  8:43           ` Andrejs Cainikovs
2024-07-15 13:31             ` Simon Glass
2024-06-23 17:56 ` [PATCH v3 5/6] u_boot_pylib: Use correct coverage tool within venv Simon Glass
2024-07-15 13:31   ` Simon Glass
2024-06-23 17:56 ` [PATCH v3 6/6] CI: Run code-coverage test for Binman Simon Glass
2024-06-24 15:49   ` Tom Rini

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.