[PATCH 00/20] gitlab: Simplify the test script

Simon Glass sjg at chromium.org
Sat Mar 7 04:07:14 CET 2020


At present there are several things in the gitlab script which work around
limitations in buildman. With a few small feature additions these can be
removed.

This series adds some new features to buildman and simplifies the script:
- Option to run a single build in a specified output directory
- Allow ignoring warnings
- Removes a restriction on the build output directory

It also
- moves test.py over to use buildman for the --build option
- makes one change to azure since the same approach should be possible there
- fixes a few minor problems noticed in main and sandbox docs


Simon Glass (20):
  sandbox: Add documentation about required/useful packages
  main: Drop show_boot_progress() prototype
  buildman: Document the members of BuilderJob
  bulidman: Add support for a simple build
  gitlab: Use the -w option for sandbox_spl
  azure: Use the -w option for sandbox_spl
  gitlab: Use the --board buildman flag
  gitlab: Drop the BUILDMAN variable
  buildman: Update help for -d
  gitlab: Drop the buildman -d flag
  gitlab: Drop unnecessary if..fi
  gitlab: Use -w flag for all builds
  gitlab: Use bash to avoid needing a_test_which_does_not_exist
  buildman: Allow ignoring warnings in the return code
  gitlab: Use the buildman -W flag
  gitlab: Enable test_handoff
  buildman: Be more selective about which directories to remove
  buildman: Allow building within a subdir of the current dir
  test/py: Use buildman to build U-Boot
  gitlab: Simplify the exit code for test.py

 .azure-pipelines.yml            |  4 +-
 .gitlab-ci.yml                  | 81 +++++++++------------------------
 common/main.c                   |  5 --
 doc/arch/sandbox.rst            | 10 ++++
 test/py/conftest.py             | 16 +++----
 tools/buildman/README           | 13 +++++-
 tools/buildman/builder.py       | 51 ++++++++++++++++-----
 tools/buildman/builderthread.py | 34 ++++++++++----
 tools/buildman/cmdline.py       |  6 ++-
 tools/buildman/control.py       | 35 ++++----------
 tools/buildman/func_test.py     | 46 ++++++++++++++-----
 tools/buildman/test.py          | 20 ++++++++
 12 files changed, 186 insertions(+), 135 deletions(-)

-- 
2.25.1.481.gfbce0eb801-goog



More information about the U-Boot mailing list