On Wed, Oct 09, 2024 at 07:51:38PM -0600, Simon Glass wrote:

> In Labgrid there is the concept of a 'role', which is similar to the
> U-Boot board ID in U-Boot's pytest subsystem.
> 
> The role indicates both the target and information about the U-Boot
> build to use. It can also provide any amount of other configuration.
> The information is obtained using the 'labgrid-client query' operation.
> 
> Make use of this in tests, so that only the role is required in gitlab
> and other situations. The board type and other things can be queried
> as needed.
> 
> Use a new 'u-boot-test-getrole' script to obtain the requested
> information.
> 
> With this it is possible to run lab tests in gitlab with just a single
> 'ROLE' variable for each board.
> 
> Signed-off-by: Simon Glass <s...@chromium.org>

Aside from the "look ma, only one conf file" trick, I still do not see how
this differs from the typical board/id system we use today. One can
easily make N symlinks to the generic conf file.

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to