Bugfix: the cxmac and lpp netperf tests didn't actually run cxmac and lpp
This commit is contained in:
parent
511389ae09
commit
5e62a0dd20
|
@ -25,7 +25,7 @@
|
||||||
<description>netperf shell</description>
|
<description>netperf shell</description>
|
||||||
<source>[CONTIKI_DIR]/examples/netperf/netperf-shell.c</source>
|
<source>[CONTIKI_DIR]/examples/netperf/netperf-shell.c</source>
|
||||||
<commands>make clean TARGET=sky
|
<commands>make clean TARGET=sky
|
||||||
make MAC_DRIVER=cxmac_driver netperf-shell.sky TARGET=sky</commands>
|
make DEFINES=MAC_DRIVER=cxmac_driver netperf-shell.sky TARGET=sky</commands>
|
||||||
<firmware>[CONTIKI_DIR]/examples/netperf/netperf-shell.sky</firmware>
|
<firmware>[CONTIKI_DIR]/examples/netperf/netperf-shell.sky</firmware>
|
||||||
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
<description>netperf shell</description>
|
<description>netperf shell</description>
|
||||||
<source>[CONTIKI_DIR]/examples/netperf/netperf-shell.c</source>
|
<source>[CONTIKI_DIR]/examples/netperf/netperf-shell.c</source>
|
||||||
<commands>make clean TARGET=sky
|
<commands>make clean TARGET=sky
|
||||||
make MAC_DRIVER=lpp_driver netperf-shell.sky TARGET=sky</commands>
|
make DEFINES=MAC_DRIVER=lpp_driver netperf-shell.sky TARGET=sky</commands>
|
||||||
<firmware>[CONTIKI_DIR]/examples/netperf/netperf-shell.sky</firmware>
|
<firmware>[CONTIKI_DIR]/examples/netperf/netperf-shell.sky</firmware>
|
||||||
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
<moteinterface>se.sics.cooja.interfaces.Position</moteinterface>
|
||||||
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
<moteinterface>se.sics.cooja.interfaces.RimeAddress</moteinterface>
|
||||||
|
@ -125,7 +125,7 @@ while(true) {
|
||||||
log.testFailed();
|
log.testFailed();
|
||||||
}
|
}
|
||||||
if(id == 1 && msg.startsWith("1.0: Contiki") && started == 0) {
|
if(id == 1 && msg.startsWith("1.0: Contiki") && started == 0) {
|
||||||
write(mote, "netperf -bups 2.0 20\n"); /* Write to mote serial port */
|
write(mote, "netperf -ps 2.0 20\n"); /* Write to mote serial port */
|
||||||
started = 1;
|
started = 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue