auto export all logicdata
This commit is contained in:
parent
a92a8ba262
commit
66b9c3ebea
|
@ -86,6 +86,12 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callb
|
||||||
}
|
}
|
||||||
|
|
||||||
EngineTestHelper::~EngineTestHelper() {
|
EngineTestHelper::~EngineTestHelper() {
|
||||||
|
// Write history to file
|
||||||
|
std::stringstream filePath;
|
||||||
|
filePath << ::testing::UnitTest::GetInstance()->current_test_info()->name() << ".logicdata";
|
||||||
|
writeEvents(filePath.str().c_str());
|
||||||
|
|
||||||
|
// Cleanup
|
||||||
Sensor::resetRegistry();
|
Sensor::resetRegistry();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -105,8 +105,4 @@ TEST(fuelControl, transitionIssue1592) {
|
||||||
// !!!!!!!!! BUG !!!!!!!!!!!!!!!
|
// !!!!!!!!! BUG !!!!!!!!!!!!!!!
|
||||||
|
|
||||||
EXPECT_EQ(enginePins.injectors[3].getOverlappingCounter(), 0);
|
EXPECT_EQ(enginePins.injectors[3].getOverlappingCounter(), 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
eth.writeEvents("fuel_schedule_transition_issue_1592.logicdata");
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue