sanitycheck: Add a feature which can handle pytest script.

1. Add a class of Pytest(Harness) which can handle pytest script
in harness.py
2. Use running_dir to store current test directory which be
used in pytest scrpt.
3. Add usage of this feature into zephyr doc.

Signed-off-by: YouhuaX Zhu <youhuax.zhu@intel.com>
This commit is contained in:
YouhuaX Zhu 2020-10-22 09:37:27 +08:00 committed by Anas Nashif
commit 965c8b9888
4 changed files with 137 additions and 2 deletions

View file

@ -62,6 +62,9 @@ mapping:
"repeat":
type: int
required: no
"pytest_root":
type: str
required: no
"regex":
type: seq
required: no
@ -187,6 +190,9 @@ mapping:
"repeat":
type: int
required: no
"pytest_root":
type: str
required: no
"regex":
type: seq
required: no