contiki/tools/cooja/contiki_tests/sky_shell_compilation_test.js

10 lines
276 B
JavaScript

/* Script is called once for every node log output. */
/* Input variables: Mote mote, int id, String msg. */
/* Contiki test script example */
if (msg.startsWith('Contiki')) {
log.testOK(); /* Report test success */
} else {
log.testFailed(); /* Report test failure */
}