auto test clean-up

This commit is contained in:
rusefillc 2020-12-12 15:44:57 -05:00
parent b75eb9ea81
commit f55b975b3e
19 changed files with 31 additions and 70 deletions

View File

@ -1,25 +0,0 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="AutoTest" type="Application" factoryName="Application" nameIsGenerated="true">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" />
<option name="MAIN_CLASS_NAME" value="com.rusefi.AutoTest" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="autotest" />
<envs />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
<option name="LOCAL" value="true" />
</RunnerSettings>
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
</configuration>
</component>

View File

@ -1,9 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="AverageAnglesUtil" type="Application" factoryName="Application" nameIsGenerated="true">
<configuration default="false" name="AverageAnglesUtil" type="Application" factoryName="Application" folderName="Misc" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.rusefi.AverageAnglesUtil" />
<module name="autotest" />
<option name="PROGRAM_PARAMETERS" value="a.csv" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,22 +1,14 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="BinaryProtocolCmd" type="Application" factoryName="Application" nameIsGenerated="true">
<extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea">
<configuration default="false" name="BinaryProtocolCmd" type="Application" factoryName="Application" folderName="Misc" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.rusefi.binaryprotocol.BinaryProtocolCmd" />
<module name="ui" />
<option name="PROGRAM_PARAMETERS" value="COM9" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.binaryprotocol.*" />
<option name="ENABLED" value="true" />
</pattern>
</extension>
<option name="MAIN_CLASS_NAME" value="com.rusefi.binaryprotocol.BinaryProtocolCmd" />
<option name="VM_PARAMETERS" value="" />
<option name="PROGRAM_PARAMETERS" value="COM9" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
<option name="ALTERNATIVE_JRE_PATH" value="" />
<option name="ENABLE_SWING_INSPECTOR" value="false" />
<option name="ENV_VARIABLES" />
<option name="PASS_PARENT_ENVS" value="true" />
<module name="ui" />
<envs />
<RunnerSettings RunnerId="Debug">
<option name="DEBUG_PORT" value="" />
<option name="TRANSPORT" value="0" />
@ -25,6 +17,8 @@
<RunnerSettings RunnerId="Run" />
<ConfigurationWrapper RunnerId="Debug" />
<ConfigurationWrapper RunnerId="Run" />
<method />
<method v="2">
<option name="Make" enabled="true" />
</method>
</configuration>
</component>

View File

@ -1,8 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="CmdLine" type="Application" factoryName="Application" nameIsGenerated="true">
<configuration default="false" name="CmdLine" type="Application" factoryName="Application" folderName="Misc" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.rusefi.CmdLine" />
<module name="ui" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Detect" type="Application" factoryName="Application">
<configuration default="false" name="Detect" type="Application" factoryName="Application" folderName="Misc">
<option name="MAIN_CLASS_NAME" value="com.rusefi.Launcher" />
<module name="ui" />
<option name="PROGRAM_PARAMETERS" value="detect" />

View File

@ -1,8 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="EnduranceTest" type="Application" factoryName="Application" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.rusefi.EnduranceTest" />
<configuration default="false" name="EnduranceTestUtility" type="Application" factoryName="Application" folderName="Misc" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.rusefi.EnduranceTestUtility" />
<module name="autotest" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,8 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="FiringOrderTSLogic" type="Application" factoryName="Application" nameIsGenerated="true">
<configuration default="false" name="FiringOrderTSLogic" type="Application" factoryName="Application" folderName="Misc" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.rusefi.FiringOrderTSLogic" />
<module name="configuration_definition" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,8 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="IniFileModel" type="Application" factoryName="Application" nameIsGenerated="true">
<configuration default="false" name="IniFileModel" type="Application" factoryName="Application" folderName="Misc" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.opensr5.ini.IniFileModel" />
<module name="ui" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.opensr5.ini.*" />

View File

@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TS2CRunner" type="Application" factoryName="Application" nameIsGenerated="true">
<configuration default="false" name="TS2CRunner" type="Application" factoryName="Application" folderName="TunerStudio to C" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.rusefi.tools.tune.TS2CRunner" />
<module name="models" />
<option name="VM_PARAMETERS" value="-Dini_file_path=." />

View File

@ -1,9 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TS2C fsioTable1" type="Application" factoryName="Application">
<configuration default="false" name="TS2C fsioTable1" type="Application" factoryName="Application" folderName="TunerStudio to C">
<option name="MAIN_CLASS_NAME" value="com.rusefi.tools.tune.TS2C" />
<module name="models" />
<option name="PROGRAM_PARAMETERS" value="currenttune.msq fsioTable1LoadBins fsioTable1RpmBins fsioTable1 8" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,9 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TS2C fuelTable" type="Application" factoryName="Application">
<configuration default="false" name="TS2C fuelTable" type="Application" factoryName="Application" folderName="TunerStudio to C">
<option name="MAIN_CLASS_NAME" value="com.rusefi.tools.tune.TS2C" />
<module name="models" />
<option name="PROGRAM_PARAMETERS" value="currenttune.msq fuelLoadBins fuelRpmBins fuelTable" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,9 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TS2C ignitionTable" type="Application" factoryName="Application">
<configuration default="false" name="TS2C ignitionTable" type="Application" factoryName="Application" folderName="TunerStudio to C">
<option name="MAIN_CLASS_NAME" value="com.rusefi.tools.tune.TS2C" />
<module name="models" />
<option name="PROGRAM_PARAMETERS" value="currenttune.msq ignitionLoadBins ignitionRpmBins ignitionTable" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,9 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TS2C targetAFR" type="Application" factoryName="Application">
<configuration default="false" name="TS2C targetAFR" type="Application" factoryName="Application" folderName="TunerStudio to C">
<option name="MAIN_CLASS_NAME" value="com.rusefi.tools.tune.TS2C" />
<module name="models" />
<option name="PROGRAM_PARAMETERS" value="currenttune.msq afrLoadBins afrRpmBins afrTable" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,9 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TS2C tps2tps" type="Application" factoryName="Application">
<configuration default="false" name="TS2C tps2tps" type="Application" factoryName="Application" folderName="TunerStudio to C">
<option name="MAIN_CLASS_NAME" value="com.rusefi.tools.tune.TS2C" />
<module name="models" />
<option name="PROGRAM_PARAMETERS" value="currenttune.msq tpsTpsAccelFromRpmBins tpsTpsAccelToRpmBins tpsTpsAccelTable 8" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,9 +1,8 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TS2C veTable" type="Application" factoryName="Application">
<configuration default="false" name="TS2C veTable" type="Application" factoryName="Application" folderName="TunerStudio to C">
<option name="MAIN_CLASS_NAME" value="com.rusefi.tools.tune.TS2C" />
<module name="models" />
<option name="PROGRAM_PARAMETERS" value="currenttune.msq veLoadBins veRpmBins veTable" />
<option name="WORKING_DIRECTORY" value="file://$PROJECT_DIR$" />
<extension name="coverage">
<pattern>
<option name="PATTERN" value="com.rusefi.ui.console.*" />

View File

@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TriggerImage" type="Application" factoryName="Application" nameIsGenerated="true">
<configuration default="false" name="TriggerImage" type="Application" factoryName="Application" folderName="Trigger Renderer" nameIsGenerated="true">
<option name="MAIN_CLASS_NAME" value="com.rusefi.TriggerImage" />
<module name="ui" />
<option name="PROGRAM_PARAMETERS" value="../unit_tests" />

View File

@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="TriggerImage 27" type="Application" factoryName="Application">
<configuration default="false" name="TriggerImage 27" type="Application" factoryName="Application" folderName="Trigger Renderer">
<option name="MAIN_CLASS_NAME" value="com.rusefi.TriggerImage" />
<module name="ui" />
<option name="PROGRAM_PARAMETERS" value="../unit_tests 27 10" />

View File

@ -1,5 +1,5 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="read_tune" type="Application" factoryName="Application">
<configuration default="false" name="read_tune" type="Application" factoryName="Application" folderName="Misc">
<option name="MAIN_CLASS_NAME" value="com.rusefi.Launcher" />
<module name="ui" />
<option name="PROGRAM_PARAMETERS" value="read_tune" />

View File

@ -8,7 +8,10 @@ import com.rusefi.io.LinkManager;
import static com.rusefi.IoUtil.*;
import static com.rusefi.RealHwTest.startRealHardwareTest;
public class EnduranceTest {
/**
* this command utility confirms that rusEFI hardware stays alive for long periods of time
*/
public class EnduranceTestUtility {
private static final int DEFAULT_COUNT = 2000;
@ -29,12 +32,12 @@ public class EnduranceTest {
IoUtil.realHardwareConnect(linkManager, port);
for (int i = 0; i < count; i++) {
BaseTest.currentEngineType = 3;
BaseTest.currentEngineType = Fields.ET_FORD_ASPIRE;
sendCommand("set " + Fields.CMD_ENGINE_TYPE + " " + 3, BaseTest.COMPLEX_COMMAND_RETRY, Timeouts.SET_ENGINE_TIMEOUT, commandQueue);
sleepSeconds(2);
sendCommand(getEnableCommand("self_stimulation"), commandQueue);
// IoUtil.changeRpm(1200);
BaseTest.currentEngineType = 28;
BaseTest.currentEngineType = Fields.ET_DEFAULT_FRANKENSO;
sendCommand("set " + Fields.CMD_ENGINE_TYPE + " " + 28, BaseTest.COMPLEX_COMMAND_RETRY, Timeouts.SET_ENGINE_TIMEOUT, commandQueue);
sleepSeconds(2);
FileLog.MAIN.logLine("++++++++++++++++++++++++++++++++++++ " + i + " +++++++++++++++");