a5fadb2ebe
- support draft-ietf-6tisch-6top-protocol-03 - maintain a sequence number per neighbor - rename variables and constants - reconsider file structure and file names - make sf-simple part of example - update sixtop/README.md - add regression-tests for 6tisch - apply C-DAC copyright notice - bugfix + cleanup
28 lines
422 B
JavaScript
28 lines
422 B
JavaScript
TIMEOUT(10000, log.testFailed());
|
|
|
|
var failed = false;
|
|
var done = 0;
|
|
|
|
while(done < sim.getMotes().length) {
|
|
YIELD();
|
|
|
|
log.log(time + " " + "node-" + id + " "+ msg + "\n");
|
|
|
|
if(msg.contains("=check-me=") == false) {
|
|
continue;
|
|
}
|
|
|
|
if(msg.contains("FAILED")) {
|
|
failed = true;
|
|
}
|
|
|
|
if(msg.contains("DONE")) {
|
|
done++;
|
|
}
|
|
}
|
|
if(failed) {
|
|
log.testFailed();
|
|
}
|
|
log.testOK();
|
|
|