diff --git a/src/qgcunittest/UnitTest.cc b/src/qgcunittest/UnitTest.cc index 4c2869d25faa53af05e2a40e3ce02dcd6acbb8f5..6df2a069e4b7a95d2382e692e557d10e752b24ef 100644 --- a/src/qgcunittest/UnitTest.cc +++ b/src/qgcunittest/UnitTest.cc @@ -28,6 +28,7 @@ #include "UnitTest.h" #include "QGCApplication.h" +#include "MAVLinkProtocol.h" bool UnitTest::_messageBoxRespondedTo = false; bool UnitTest::_badResponseButton = false; @@ -115,6 +116,8 @@ void UnitTest::init(void) // Each test gets a clean global state qgcApp()->destroySingletonsForUnitTest(); qgcApp()->createSingletonsForUnitTest(); + + MAVLinkProtocol::deleteTempLogFiles(); } /// @brief Called after each test.