TSCH: more coverage for compile tests, improved cooja test log output
This commit is contained in:
parent
7eabf8d391
commit
f9f91363d2
@ -35,6 +35,8 @@ zolertia/z1/z1 \
|
|||||||
settings-example/avr-raven \
|
settings-example/avr-raven \
|
||||||
ipv6/multicast/sky \
|
ipv6/multicast/sky \
|
||||||
ipv6/rpl-tsch/z1 \
|
ipv6/rpl-tsch/z1 \
|
||||||
|
ipv6/rpl-tsch/z1:MAKE_WITH_ORCHESTRA=1 \
|
||||||
|
ipv6/rpl-tsch/z1:MAKE_WITH_SECURITY=1
|
||||||
|
|
||||||
|
|
||||||
TOOLS=
|
TOOLS=
|
||||||
|
@ -271,7 +271,9 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0</commands>
|
|||||||

|

|
||||||
/* Wait until a node (can only be the DAGRoot) has
|
/* Wait until a node (can only be the DAGRoot) has
|
||||||
* 8 routing entries (i.e. can reach every node) */
|
* 8 routing entries (i.e. can reach every node) */
|
||||||
|
log.log("Waiting for routing tables to fill\n");
|
||||||
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));
|
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));
|
||||||
|
log.log("Root routing table ready\n");
|
||||||

|

|
||||||
log.testOK(); /* Report test success and quit */</script>
|
log.testOK(); /* Report test success and quit */</script>
|
||||||
<active>true</active>
|
<active>true</active>
|
||||||
|
@ -269,12 +269,16 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0</commands>
|
|||||||
<plugin_config>
|
<plugin_config>
|
||||||
<script>TIMEOUT(300000); /* Time out after 5 minutes */
|
<script>TIMEOUT(300000); /* Time out after 5 minutes */
|
||||||

|

|
||||||
|
log.log("Waiting for Orchestra to start\n");
|
||||||
/* Check that Orchestra is running */
|
/* Check that Orchestra is running */
|
||||||
WAIT_UNTIL(msg.startsWith("Orchestra:"));
|
WAIT_UNTIL(msg.startsWith("Orchestra:"));
|
||||||
|
log.log("Orchestra started\n");
|
||||||

|

|
||||||
/* Wait until a node (can only be the DAGRoot) has
|
/* Wait until a node (can only be the DAGRoot) has
|
||||||
* 8 routing entries (i.e. can reach every node) */
|
* 8 routing entries (i.e. can reach every node) */
|
||||||
|
log.log("Waiting for routing tables to fill\n");
|
||||||
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));
|
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));
|
||||||
|
log.log("Root routing table ready\n");
|
||||||

|

|
||||||
log.testOK(); /* Report test success and quit */</script>
|
log.testOK(); /* Report test success and quit */</script>
|
||||||
<active>true</active>
|
<active>true</active>
|
||||||
|
@ -269,12 +269,16 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1</commands>
|
|||||||
<plugin_config>
|
<plugin_config>
|
||||||
<script>TIMEOUT(300000); /* Time out after 5 minutes */
|
<script>TIMEOUT(300000); /* Time out after 5 minutes */
|
||||||

|

|
||||||
|
log.log("Waiting for association with security\n");
|
||||||
/* Check that nodes associate with security */
|
/* Check that nodes associate with security */
|
||||||
WAIT_UNTIL(msg.startsWith("TSCH: association done, sec 1,"));
|
WAIT_UNTIL(msg.startsWith("TSCH: association done, sec 1,"));
|
||||||
|
log.log("Association with security done\n");
|
||||||

|

|
||||||
/* Wait until a node (can only be the DAGRoot) has
|
/* Wait until a node (can only be the DAGRoot) has
|
||||||
* 8 routing entries (i.e. can reach every node) */
|
* 8 routing entries (i.e. can reach every node) */
|
||||||
|
log.log("Waiting for routing tables to fill\n");
|
||||||
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));
|
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));
|
||||||
|
log.log("Root routing table ready\n");
|
||||||

|

|
||||||
log.testOK(); /* Report test success and quit */</script>
|
log.testOK(); /* Report test success and quit */</script>
|
||||||
<active>true</active>
|
<active>true</active>
|
||||||
|
@ -9,7 +9,10 @@ jn516x/rpl/border-router/jn516x \
|
|||||||
jn516x/rpl/node/jn516x \
|
jn516x/rpl/node/jn516x \
|
||||||
jn516x/rpl/coap-dongle-node/jn516x \
|
jn516x/rpl/coap-dongle-node/jn516x \
|
||||||
jn516x/rpl/coap-dr1175-node/jn516x \
|
jn516x/rpl/coap-dr1175-node/jn516x \
|
||||||
jn516x/rpl/coap-dr1199-node/jn516x
|
jn516x/rpl/coap-dr1199-node/jn516x \
|
||||||
|
ipv6/rpl-tsch/jn516x \
|
||||||
|
ipv6/rpl-tsch/jn516x:MAKE_WITH_ORCHESTRA=1 \
|
||||||
|
ipv6/rpl-tsch/jn516x:MAKE_WITH_SECURITY=1
|
||||||
|
|
||||||
TOOLS=
|
TOOLS=
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user