fix: report test success by log.testOK()
This commit is contained in:
parent
6ddc3642bf
commit
0f924ed2dd
@ -20,6 +20,6 @@ while (true) {
|
|||||||
/* Did all nodes (2-10) receive a message? */
|
/* Did all nodes (2-10) receive a message? */
|
||||||
for (i = 2; i <= 10; i++) {
|
for (i = 2; i <= 10; i++) {
|
||||||
if (nr_packets[i] < 1) break;
|
if (nr_packets[i] < 1) break;
|
||||||
if (i == 10) log.log("TEST OK\n"); /* Report test success */
|
if (i == 10) log.testOK(); /* Report test success */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user