TSCH: more coverage for compile tests, improved cooja test log output

This commit is contained in:
Simon Duquennoy 2015-11-21 00:09:30 +01:00
parent 7eabf8d391
commit f9f91363d2
5 changed files with 16 additions and 1 deletions

View file

@ -35,6 +35,8 @@ zolertia/z1/z1 \
settings-example/avr-raven \
ipv6/multicast/sky \
ipv6/rpl-tsch/z1 \
ipv6/rpl-tsch/z1:MAKE_WITH_ORCHESTRA=1 \
ipv6/rpl-tsch/z1:MAKE_WITH_SECURITY=1
TOOLS=

View file

@ -271,7 +271,9 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=0</commands>
&#xD;
/* Wait until a node (can only be the DAGRoot) has&#xD;
* 8 routing entries (i.e. can reach every node) */&#xD;
log.log("Waiting for routing tables to fill\n");&#xD;
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));&#xD;
log.log("Root routing table ready\n");&#xD;
&#xD;
log.testOK(); /* Report test success and quit */</script>
<active>true</active>

View file

@ -269,12 +269,16 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=1 MAKE_WITH_SECURITY=0</commands>
<plugin_config>
<script>TIMEOUT(300000); /* Time out after 5 minutes */&#xD;
&#xD;
log.log("Waiting for Orchestra to start\n");&#xD;
/* Check that Orchestra is running */&#xD;
WAIT_UNTIL(msg.startsWith("Orchestra:"));&#xD;
log.log("Orchestra started\n");&#xD;
&#xD;
/* Wait until a node (can only be the DAGRoot) has&#xD;
* 8 routing entries (i.e. can reach every node) */&#xD;
log.log("Waiting for routing tables to fill\n");&#xD;
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));&#xD;
log.log("Root routing table ready\n");&#xD;
&#xD;
log.testOK(); /* Report test success and quit */</script>
<active>true</active>

View file

@ -269,12 +269,16 @@ make node.z1 TARGET=z1 MAKE_WITH_ORCHESTRA=0 MAKE_WITH_SECURITY=1</commands>
<plugin_config>
<script>TIMEOUT(300000); /* Time out after 5 minutes */&#xD;
&#xD;
log.log("Waiting for association with security\n");&#xD;
/* Check that nodes associate with security */&#xD;
WAIT_UNTIL(msg.startsWith("TSCH: association done, sec 1,"));&#xD;
log.log("Association with security done\n");&#xD;
&#xD;
/* Wait until a node (can only be the DAGRoot) has&#xD;
* 8 routing entries (i.e. can reach every node) */&#xD;
log.log("Waiting for routing tables to fill\n");&#xD;
WAIT_UNTIL(msg.endsWith("Routing entries (8 in total):"));&#xD;
log.log("Root routing table ready\n");&#xD;
&#xD;
log.testOK(); /* Report test success and quit */</script>
<active>true</active>

View file

@ -9,7 +9,10 @@ jn516x/rpl/border-router/jn516x \
jn516x/rpl/node/jn516x \
jn516x/rpl/coap-dongle-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=