mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-19 21:41:40 +00:00
QA test: ensure qa_common uses the "C" locale to convert doubles to strings.
This commit is contained in:
parent
82414f5e80
commit
7243281756
@ -30,10 +30,14 @@
|
||||
#include <wx/image.h>
|
||||
#include <wx/init.h>
|
||||
|
||||
|
||||
#include <locale_io.h>
|
||||
bool init_unit_test()
|
||||
{
|
||||
SetPgm( new MOCK_PGM_BASE() );
|
||||
|
||||
// Ensure the "C" locale is used in tests
|
||||
LOCALE_IO dummy;
|
||||
|
||||
boost::unit_test::framework::master_test_suite().p_name.value = "Common library module tests";
|
||||
bool ok = wxInitialize();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user