Commit graph

3 commits

Author SHA1 Message Date
Maciej Perkowski
4733a89c50 twister: tests: Add some generic driver tests to the scope
The added tests should be generic enough to run on all reference
platforms.

Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
2023-11-30 19:38:50 -05:00
Maciej Perkowski
ac3d8ebd9e twister: tests: Use inheritance in test_config.yaml
There is no need of repeating the same entries in a scope
that is supposed to extend another one.

Signed-off-by: Maciej Perkowski <Maciej.Perkowski@nordicsemi.no>
2023-11-30 19:38:50 -05:00
Anas Nashif
14d88f8425 twister: add support for levels and test configuration
Add support test levels and the ability to assign a specific test to one
or more levels. Using command line options of twister it is then possible
to select a level and just execute the tests included in this level.

Additionally, a test configuration allows definiing level
dependencies and additional inclusion of tests into a specific level if
the test itself does not have this information already.

In the configuration file you can include complete components using
regular expressions and you can specify which test level to import from
the same file, making management of levels easier.

To help with testing outside of upstream CI infrastructure, additional
options are available in the configuration file, which can be hosted
locally. As of now, those options are available:

- Ability to ignore default platforms as defined in board definitions
  (Those are mostly emulation platforms used to run tests in upstream
  CI)
- Option to specify your own list of default platforms overriding what
  upstream defines.
- Ability to override build_onl_all options used in some testscases.
  This will treat tests or sample as any other just build for default
  platforms you specify in the configuation file or on the command line.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2023-03-07 15:49:16 +01:00