docs :(
This commit is contained in:
parent
7a08c18ad6
commit
128e002896
|
@ -1,3 +1,8 @@
|
||||||
|
rem
|
||||||
|
rem this takes about 12 minutes to run unfortunatelly, current implementation is pretty inefficient :( See comments around 'nextChart()' method
|
||||||
|
rem pa
|
||||||
|
rem
|
||||||
|
|
||||||
set port=%1
|
set port=%1
|
||||||
echo "Port (optional): %port%"
|
echo "Port (optional): %port%"
|
||||||
java -jar ../java_console_binary/rusefi_console.jar functional_test %port%
|
java -jar ../java_console_binary/rusefi_console.jar functional_test %port%
|
||||||
|
|
|
@ -105,6 +105,13 @@ public class TestingUtils {
|
||||||
}
|
}
|
||||||
|
|
||||||
static EngineChart nextChart() {
|
static EngineChart nextChart() {
|
||||||
|
/**
|
||||||
|
* we are pretty inefficient here :( we wait for the next chart with new settings already applied
|
||||||
|
* a potential improvement would be maybe a special test mode which would reset engine sniffer buffer on each
|
||||||
|
* setting change?
|
||||||
|
*
|
||||||
|
* also open question why do we skip TWO full charts. maybe we account for fast or slow callback period?
|
||||||
|
*/
|
||||||
getNextWaveChart();
|
getNextWaveChart();
|
||||||
getNextWaveChart();
|
getNextWaveChart();
|
||||||
return EngineChartParser.unpackToMap(getNextWaveChart());
|
return EngineChartParser.unpackToMap(getNextWaveChart());
|
||||||
|
|
Loading…
Reference in New Issue