Change executable names for examples to ot-cli and ot-ncp. (#173)

This commit is contained in:
Jonathan Hui
2016-06-20 08:44:12 -07:00
committed by GitHub
parent 8298a0e5fe
commit 7ecccade06
7 changed files with 40 additions and 41 deletions
+2 -2
View File
@@ -54,9 +54,9 @@ class Node:
""" Initialize a simulation node. """
if "top_builddir" in os.environ.keys():
srcdir = os.environ['top_builddir']
cmd = '%s/examples/posix/app/cli/soc' % srcdir
cmd = '%s/examples/posix/app/cli/ot-cli' % srcdir
else:
cmd = './soc'
cmd = './ot-cli'
cmd += ' %d' % nodeid
print cmd