Print stats even when test fails
This commit is contained in:
parent
01683428ea
commit
78fd88d0ec
|
@ -350,11 +350,12 @@
|
|||
<plugin>
|
||||
se.sics.cooja.plugins.ScriptRunner
|
||||
<plugin_config>
|
||||
<script>TIMEOUT(500000, log.log("Timeout\n"));
|
||||
<script>TIMEOUT(500000, print_stats());
|
||||
|
||||
function
|
||||
print_stats()
|
||||
{
|
||||
log.log("Time " + time + "\n");
|
||||
log.log("Received " + total_received + " messages, " +
|
||||
(total_received / nrNodes) + " messages/node, " +
|
||||
total_lost + " lost, " +
|
||||
|
|
Loading…
Reference in a new issue