using the new methods for reporting test ok/failed.

This commit is contained in:
fros4943 2008-11-11 10:07:24 +00:00
parent 28ed5e2a4a
commit 875be00548

View File

@ -3,11 +3,7 @@
/* Contiki test script example */
if (msg.startsWith('Contiki')) {
log.log('TEST OK\n'); /* Report test success */
/* To increase test run speed, close the simulator when done */
mote.getSimulation().getGUI().doQuit(false); /* Quit simulator (to end test run)*/
log.testOK(); /* Report test success */
} else {
log.log('TEST FAIL\n'); /* Report test failure */
mote.getSimulation().getGUI().doQuit(false); /* Quit simulator (to end test run)*/
log.testFailed(); /* Report test failure */
}