MRE HW CI sandbox
This commit is contained in:
parent
6ce02ccb63
commit
82d022872b
|
@ -190,7 +190,7 @@ void setMreVwPassatB6() {
|
|||
#if HW_MICRO_RUSEFI
|
||||
commonPassatB6();
|
||||
|
||||
engineConfiguration->afr.hwChannel = MRE_IN_ANALOG_VOLT_10;
|
||||
// engineConfiguration->afr.hwChannel = MRE_IN_ANALOG_VOLT_10;
|
||||
|
||||
engineConfiguration->tps1_2AdcChannel = MRE_IN_ANALOG_VOLT_9;
|
||||
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
package com.rusefi;
|
||||
|
||||
public class HwCiMicroRusEFI {
|
||||
public static void main(String[] args) {
|
||||
CmdJUnitRunner.runHardwareTestAndExit(new Class[]{
|
||||
PassatHighRevTest.class,
|
||||
});
|
||||
}
|
||||
}
|
|
@ -0,0 +1,12 @@
|
|||
package com.rusefi;
|
||||
|
||||
import com.rusefi.enums.engine_type_e;
|
||||
import com.rusefi.f4discovery.HighRevTest;
|
||||
import org.junit.Test;
|
||||
|
||||
public class PassatHighRevTest extends RusefiTestBase {
|
||||
@Test
|
||||
public void runPassatTest() {
|
||||
HighRevTest.runHighRevTest(engine_type_e.MRE_VW_B6, ecu);
|
||||
}
|
||||
}
|
|
@ -11,22 +11,23 @@ import static com.rusefi.functional_tests.EcuTestHelper.FAIL;
|
|||
public class HighRevTest extends RusefiTestBase {
|
||||
@Test
|
||||
public void testVW() {
|
||||
ecu.setEngineType(engine_type_e.VW_ABA);
|
||||
// trying to disable engine sniffer to help https://github.com/rusefi/rusefi/issues/1849
|
||||
ecu.sendCommand("set " + CMD_ENGINESNIFFERRPMTHRESHOLD + " 100");
|
||||
ecu.changeRpm(900);
|
||||
// first let's get to expected RPM
|
||||
EcuTestHelper.assertRpmDoesNotJump(6000, 5, 40, FAIL, ecu.commandQueue);
|
||||
runHighRevTest(engine_type_e.VW_ABA, ecu);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testV12() {
|
||||
ecu.setEngineType(engine_type_e.FRANKENSO_BMW_M73_F);
|
||||
ecu.changeRpm(700);
|
||||
// first let's get to expected RPM
|
||||
EcuTestHelper.assertRpmDoesNotJump(6000, 5, 40, FAIL, ecu.commandQueue);
|
||||
runHighRevTest(engine_type_e.FRANKENSO_BMW_M73_F, ecu);
|
||||
|
||||
// tests bug 1873
|
||||
EcuTestHelper.assertRpmDoesNotJump(60, 5, 110, FAIL, ecu.commandQueue);
|
||||
}
|
||||
|
||||
public static void runHighRevTest(engine_type_e engine_type_e, EcuTestHelper ecu1) {
|
||||
ecu1.setEngineType(engine_type_e);
|
||||
// trying to disable engine sniffer to help https://github.com/rusefi/rusefi/issues/1849
|
||||
ecu1.sendCommand("set " + CMD_ENGINESNIFFERRPMTHRESHOLD + " 100");
|
||||
ecu1.changeRpm(900);
|
||||
// first let's get to expected RPM
|
||||
EcuTestHelper.assertRpmDoesNotJump(6000, 5, 40, FAIL, ecu1.commandQueue);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue