[Concept,00/15] test: Improvements to make check et al

Message ID 20250819193918.874215-1-sjg@u-boot.org
Headers
Series test: Improvements to make check et al |

Message

Simon Glass Aug. 19, 2025, 7:38 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

It is helpful to be able to run 'make qcheck' to run a subset of the
tests in a short time. However this has not always been reliable. Since
this feature is not tested in CI it can sometimes break.

Now that things are working correctly, add it the various 'make check'
combinations to CI, so they will remain functional.


Simon Glass (15):
  patman: Drop hard-coded patchwork server
  patman: Handle invalid characters in patch files
  lwip: Fix some unicode warnings from pytest
  malloc: Avoid defining calloc()
  buildman: Deal with DTC in environemnt in test_skip_dtc()
  buildman: Fix pylint warning in test_skip_dtc()
  buildman: Handle CPP being in the environment
  buildman: Handle CROSS_COMPILE being in the environment
  dtoc: Add a test for the fdt_util.EnsureCompiled with indir
  test: Update test_fdt_add_pubkey() to use a separate dir
  test/run: Provide the full path to dtc
  test/run: Skip xPL tests with make tcheck
  test/run: Run more quietly
  test/run: Tidy up the tool path for binman
  CI: Check that make check et al work correctly

 .gitlab-ci.yml                                | 47 +++++++++++++++++++
 common/malloc_simple.c                        |  2 +-
 include/malloc.h                              |  1 +
 .../ports/unix/posixlib/include/posix/inet.h  |  2 +-
 .../unix/posixlib/include/posix/sockets.h     |  2 +-
 .../contrib/ports/unix/posixlib/lwipopts.h    |  2 +-
 test/py/tests/test_vboot.py                   |  2 +-
 test/run                                      | 45 +++++++++++-------
 tools/buildman/boards.py                      |  4 +-
 tools/buildman/func_test.py                   |  3 +-
 tools/buildman/test.py                        | 10 ++--
 tools/dtoc/test/dtoc_test_inc.dts             | 14 ++++++
 tools/dtoc/test/test-include.dtsi             |  5 ++
 tools/dtoc/test_fdt.py                        | 10 ++++
 tools/patman/cseries.py                       |  1 -
 tools/patman/patchstream.py                   |  2 +-
 16 files changed, 120 insertions(+), 32 deletions(-)
 create mode 100644 tools/dtoc/test/dtoc_test_inc.dts
 create mode 100644 tools/dtoc/test/test-include.dtsi