changeset 2839:0d8b753317b2

explicitly setting the locale in unit tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 25 Sep 2018 07:08:37 +0200
parents f3a2d109e361
children f4c232bba1eb
files UnitTestsSources/UnitTestsMain.cpp
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/UnitTestsSources/UnitTestsMain.cpp	Fri Sep 21 15:48:40 2018 +0200
+++ b/UnitTestsSources/UnitTestsMain.cpp	Tue Sep 25 07:08:37 2018 +0200
@@ -1125,6 +1125,7 @@
   Toolbox::DetectEndianness();
   SystemToolbox::MakeDirectory("UnitTestsResults");
   OrthancInitialize();
+  Toolbox::InitializeGlobalLocale("en_US.UTF8");
 
   ::testing::InitGoogleTest(&argc, argv);
   int result = RUN_ALL_TESTS();