This commit is contained in:
rusefi 2019-12-21 19:50:16 -05:00
parent 7a08c18ad6
commit 128e002896
2 changed files with 12 additions and 0 deletions

View File

@ -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
echo "Port (optional): %port%"
java -jar ../java_console_binary/rusefi_console.jar functional_test %port%

View File

@ -105,6 +105,13 @@ public class TestingUtils {
}
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();
return EngineChartParser.unpackToMap(getNextWaveChart());