Re: Questions regarding Zephyr's testing framework

Kumar Gala

On Jun 25, 2021, at 4:16 AM, Harald Böhm <harald.boehm@...> wrote:


I am trying to get a better understanding of Zephyr's testing framework.
I have read the documentation, but I still have two questions:

1. Is there a meaniningful difference between the terms "board" and
"platform" or are these used interchangeably?
They are used interchangeably. Its unfortunate we haven’t cleaned up platform to be board.

2. Do there exist fixture names that are deduced from the board's
configuration or are only those considered that are defined in
the hardware map / provided via command line?

As an example, if the respective YAML file in /boards defines:

- gpio

does this already fulfil some of the fixtures mentioned in the
documentation with the prefix gpio_?
Fixtures are different from what is listed in ’supported’ in the board YAML. The board YAML is meant to convey what features a board supports between hardware on the board & software in zephyr. A fixture is describing some test hardware requirement.

- k

Join to automatically receive all group messages.