auto export all logicdata

This commit is contained in:
Matthew Kennedy 2020-07-20 13:12:21 -07:00
parent a92a8ba262
commit 66b9c3ebea
2 changed files with 6 additions and 4 deletions

View File

@ -86,6 +86,12 @@ EngineTestHelper::EngineTestHelper(engine_type_e engineType, configuration_callb
}
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();
}

View File

@ -105,8 +105,4 @@ TEST(fuelControl, transitionIssue1592) {
// !!!!!!!!! BUG !!!!!!!!!!!!!!!
EXPECT_EQ(enginePins.injectors[3].getOverlappingCounter(), 0);
eth.writeEvents("fuel_schedule_transition_issue_1592.logicdata");
}