osd-contiki/tools/cooja/contiki_tests/hello-world.js
Fredrik Osterlind ad8941bc5d added hello world simulation tests for exp5438, z1, and wismote.
extracted test script to a separate hello-world.js, and updated the remaining hello world tests accordingly.
2012-06-04 17:45:43 +02:00

10 lines
131 B
JavaScript

TIMEOUT(5000);
while(true) {
log.log("> " + msg + "\n");
if (msg.equals('Hello, world')) {
log.testOK();
}
YIELD();
}