Fix qa_pcbnew memory dump in msvc

Quick fix for now as it was frustrating to run qa_pcbnew
and not be able to see the output
This commit is contained in:
Roberto Fernandez Bautista 2021-08-10 21:29:25 +01:00
parent 13fc16b03f
commit c8944286c0
1 changed files with 2 additions and 0 deletions

View File

@ -25,12 +25,14 @@
* Main file for the pcbnew tests to be compiled
*/
#include <boost/test/unit_test.hpp>
#include <kiplatform/app.h>
#include <wx/init.h>
bool init_unit_test()
{
KIPLATFORM::APP::Init();
boost::unit_test::framework::master_test_suite().p_name.value = "Pcbnew module tests";
return wxInitialize();
}