[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:
Yakun Xu
2020-11-23 17:02:11 -08:00
committed by GitHub
parent 6d9975dfa6
commit d33c2f12af
2 changed files with 12 additions and 9 deletions
+2 -2
View File
@@ -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"