mirror of
https://github.com/espressif/openthread.git
synced 2026-07-29 23:27:46 +00:00
[test] add rcp-ncp node type (#5847)
This commit enables `script/test` to run cert tests on NCP nodes of POSIX platform.
This commit is contained in:
@@ -65,8 +65,8 @@ proc spawn_node {id {type ""}} {
|
||||
|
||||
send_user "\n# ${id} ${type}\n"
|
||||
|
||||
switch ${type} {
|
||||
rcp {
|
||||
switch -regexp ${type} {
|
||||
{rcp|rcp-cli} {
|
||||
spawn $::env(OT_POSIX_APPS)/ot-cli "spinel+hdlc+uart://$::env(OT_SIMULATION_APPS)/ncp/ot-rcp?forkpty-arg=$id"
|
||||
send "routerselectionjitter 1\n"
|
||||
expect "Done"
|
||||
|
||||
Reference in New Issue
Block a user