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:
parent
13fc16b03f
commit
c8944286c0
|
@ -25,12 +25,14 @@
|
||||||
* Main file for the pcbnew tests to be compiled
|
* Main file for the pcbnew tests to be compiled
|
||||||
*/
|
*/
|
||||||
#include <boost/test/unit_test.hpp>
|
#include <boost/test/unit_test.hpp>
|
||||||
|
#include <kiplatform/app.h>
|
||||||
|
|
||||||
#include <wx/init.h>
|
#include <wx/init.h>
|
||||||
|
|
||||||
|
|
||||||
bool init_unit_test()
|
bool init_unit_test()
|
||||||
{
|
{
|
||||||
|
KIPLATFORM::APP::Init();
|
||||||
boost::unit_test::framework::master_test_suite().p_name.value = "Pcbnew module tests";
|
boost::unit_test::framework::master_test_suite().p_name.value = "Pcbnew module tests";
|
||||||
return wxInitialize();
|
return wxInitialize();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue