added contiki test: sky hello world

This commit is contained in:
fros4943 2008-09-18 10:27:57 +00:00
parent 0651d0200f
commit 8a171ebc16
3 changed files with 48 additions and 0 deletions

View file

@ -0,0 +1,7 @@
/* Script is called once for every node log output. */
/* Input variables: Mote mote, int id, String msg. */
if (msg.startsWith('Hello, world')) {
log.log('TEST OK\n'); /* Report test success */
mote.getSimulation().getGUI().doQuit(false); /* Quit simulator (to end test run)*/
}