scripts: twister: harness: pytest: add support for custom cmd line args

Add support for passing custom command line arguments to a pytest
harness in twister.

Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
This commit is contained in:
Henrik Brix Andersen 2022-02-24 12:45:29 +01:00 committed by Anas Nashif
commit 7249dab0c8
3 changed files with 19 additions and 1 deletions

View file

@ -65,6 +65,11 @@ mapping:
"pytest_root":
type: str
required: false
"pytest_args":
type: seq
required: false
sequence:
- type: str
"regex":
type: seq
required: false
@ -193,6 +198,11 @@ mapping:
"pytest_root":
type: str
required: false
"pytest_args":
type: seq
required: false
sequence:
- type: str
"regex":
type: seq
required: false