twister: add a hardware map support for using serial pty
The hardware map feature can be used with serial pty mode in this change. And also add an runner_params option for passing more parameters from hardware map file to west runner. Note that you need to create this map file manually because it cannot be scanned out correctly due to pty is not a physical HW device existing in system. And also update doc/develop/test/twister.rst for the usage. Signed-off-by: Enjia Mai <enjia.mai@intel.com>
This commit is contained in:
parent
5af3c6ca90
commit
4966de2014
3 changed files with 82 additions and 5 deletions
|
@ -27,6 +27,14 @@ sequence:
|
|||
"runner":
|
||||
type: str
|
||||
required: true
|
||||
"runner_params":
|
||||
type: seq
|
||||
required: false
|
||||
sequence:
|
||||
- type: str
|
||||
"serial_pty":
|
||||
type: str
|
||||
required: false
|
||||
"serial":
|
||||
type: str
|
||||
required: false
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue