unit tests framework fix

This commit is contained in:
rusefi 2019-01-22 23:09:34 -05:00
parent 1d15885448
commit 34e97c5d8e
2 changed files with 1 additions and 5 deletions

View File

@ -197,7 +197,6 @@ void setupSimpleTestEngineWithMaf(EngineTestHelper *eth, injection_mode_e inject
Engine *engine = &eth->engine;
EXPAND_Engine
timeNowUs = 0;
eth->clearQueue();
ASSERT_EQ(LM_PLAIN_MAF, engineConfiguration->fuelAlgorithm);

View File

@ -14,10 +14,7 @@ TEST(cranking, testFasterEngineSpinningUp) {
// turn on FasterEngineSpinUp mode
engineConfiguration->bc.isFasterEngineSpinUpEnabled = true;
// todo: it's depressing that this unit test does not survive a bit of idle time in the beginning
// todo: uncomment
//eth.moveTimeForwardMs(1000 /*ms*/);
eth.moveTimeForwardMs(1000 /*ms*/);
eth.firePrimaryTriggerRise();
// set ignition mode