Commit fbf8ebb0 authored by Don Gagne's avatar Don Gagne

Delete temp log file before each unit test run

parent 0165ab83
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment