test/py: Allow using buildman to build U-Boot
authorSimon Glass <sjg@chromium.org>
Wed, 18 Mar 2020 15:43:01 +0000 (09:43 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 11 Apr 2020 01:36:36 +0000 (21:36 -0400)
commitf5ec7eebf774456f0c24fc5eae6d0421e353bea6
tree3d81420841fe8f863afdf46ce41363efba8ffd32
parent7ec1255ceacea72e813d5ea9a6a8c940716b147b
test/py: Allow using buildman to build U-Boot

It is a pain to have to set the CROSS_COMPILE environment variable when
using test.py's --build option. It is possible to get this using the -A
option from buildman. But it seems better to just use buildman to do the
build when it is available.

However using buildman adds a new dependency to the test system which we
want to avoid. So leave the default as is and add a flag to make it use
buildman.

Note that most of these changes relate to test.py and the parts of the
travis/gitlab/azure scripts which relate to running test and building a
suitable U-Boot to run the tests on.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
test/py/README.md
test/py/conftest.py