All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/5] run unit tests in the CI
@ 2026-03-30 16:17 Edwin Török
  2026-03-30 16:17 ` [PATCH v1 1/5] README: update minimum make to 4.1 Edwin Török
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Edwin Török @ 2026-03-30 16:17 UTC (permalink / raw)
  To: xen-devel
  Cc: Edwin Török, Andrew Cooper, Anthony PERARD,
	Michal Orzel, Jan Beulich, Julien Grall, Roger Pau Monné,
	Stefano Stabellini, Doug Goldstein

Currently the unit tests aren't run in the CI during the build.
Introduce a 'make check' rule that can run them all (in parallel if `-j`
is specified).

To make reading the CI output easier make's `-O` flag is used (which
buffers output per target, making it obvious which command failed).

TBD: what is the actual minimum version of binutils required by the
existing tests, because Ubuntu 16.04 with binutil 2.26.1 failed.
That version of Ubuntu is EoL in a few days, so it is dropped from the CI build step.
The actual containers and the xilinx-arm64 jobs are kept for now
(although these should be updated to use bionic).

A followup patch series will rearrange the unit test make rules,
so it is useful to test that all the unit tests worked both prior and
following that change on all supported platforms in the CI.

For convenience this series is also available as a git repository:
https://gitlab.com/xen-project/people/edwintorok/xen/-/tree/private/edvint/run-ci?ref_type=heads

Edwin Török (5):
  README: update minimum make to 4.1
  CI: drop Ubuntu 16.04
  tools/test: introduce a 'make check' rule
  automation/scripts/build: run unit tests in the CI
  automation/scripts/build: group command output from parallel jobs

 Makefile                        |  4 ++++
 README                          |  2 +-
 automation/gitlab-ci/build.yaml | 10 ----------
 automation/scripts/build        | 10 ++++++----
 tools/Makefile                  |  4 ++++
 tools/Rules.mk                  |  2 +-
 tools/tests/Makefile            | 20 +++++++++++++++++++-
 7 files changed, 35 insertions(+), 17 deletions(-)

-- 
2.47.3



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

end of thread, other threads:[~2026-03-31 18:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-30 16:17 [PATCH v1 0/5] run unit tests in the CI Edwin Török
2026-03-30 16:17 ` [PATCH v1 1/5] README: update minimum make to 4.1 Edwin Török
2026-03-31  6:14   ` Jan Beulich
2026-03-31  8:15     ` Edwin Torok
2026-03-31  8:24       ` Jan Beulich
2026-03-31 18:53         ` Edwin Torok
2026-03-30 16:17 ` [PATCH v1 2/5] CI: drop Ubuntu 16.04 Edwin Török
2026-03-31  6:58   ` Jan Beulich
2026-03-31  8:29     ` Edwin Torok
2026-03-31  9:01       ` Jan Beulich
2026-03-30 16:17 ` [PATCH v1 3/5] tools/test: introduce a 'make check' rule Edwin Török
2026-03-31  7:13   ` Jan Beulich
2026-03-30 16:17 ` [PATCH v1 4/5] automation/scripts/build: run unit tests in the CI Edwin Török
2026-03-30 16:17 ` [PATCH v1 5/5] automation/scripts/build: group command output from parallel jobs Edwin Török

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.