updated threaded contiki test scripts
This commit is contained in:
parent
17fa4513dc
commit
000fd29f4c
10 changed files with 178 additions and 274 deletions
|
@ -1,7 +1,4 @@
|
|||
/* Script is called once for every node log output. */
|
||||
/* Input variables: Mote mote, int id, String msg. */
|
||||
TIMEOUT(2000, log.log("last message: " + msg + "\n"));
|
||||
|
||||
if (msg.startsWith('Hello, world')) {
|
||||
log.log('TEST OK\n'); /* Report test success */
|
||||
mote.getSimulation().getGUI().doQuit(false); /* Quit simulator (to end test run)*/
|
||||
}
|
||||
WAIT_UNTIL(msg.equals('Hello, world'));
|
||||
log.testOK();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue