mirror of
https://github.com/espressif/openthread.git
synced 2026-08-04 18:07:47 +00:00
add OT_CLI_PATH sys environment variable to node.py test suite (#321)
This commit is contained in:
committed by
Jonathan Hui
parent
da93f311e3
commit
c7b6bc93c5
@@ -55,6 +55,8 @@ class Node:
|
||||
if "top_builddir" in os.environ.keys():
|
||||
srcdir = os.environ['top_builddir']
|
||||
cmd = '%s/examples/apps/cli/ot-cli' % srcdir
|
||||
elif "OT_CLI_PATH" in os.environ.keys():
|
||||
cmd = os.environ['OT_CLI_PATH']
|
||||
else:
|
||||
cmd = './ot-cli'
|
||||
cmd += ' %d' % nodeid
|
||||
|
||||
Reference in New Issue
Block a user