twister: support custom test binaries

Have boards define what binaries should be kept for device testing. The
purpose of this is to reduce the amount of artifacts and just keep the
binaries needed for flashing a device, reducing the size of the final
payload.

A board can have twister keep multiple binaries needed for testing when
--prep-artifacts-for-testing option is used.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2022-12-07 16:46:33 +00:00
commit 21077b7cf2
3 changed files with 17 additions and 7 deletions

View file

@ -55,11 +55,14 @@ mapping:
required: false
"default":
type: bool
"binaries":
type: seq
seq:
- type: str
"only_tags":
type: seq
seq:
-
type: str
- type: str
"ignore_tags":
type: seq
seq: