From patchwork Sat Mar 7 03:07:14 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Glass X-Patchwork-Id: 243318 List-Id: U-Boot discussion From: sjg at chromium.org (Simon Glass) Date: Fri, 6 Mar 2020 20:07:14 -0700 Subject: [PATCH 00/20] gitlab: Simplify the test script Message-ID: <20200307030734.237401-1-sjg@chromium.org> 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(-)