tests: set locale in testprofile.cpp to "C"

In locales using comma as decimal separator the test fails.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-03-09 20:32:59 +01:00
parent 405399a091
commit e0f71f1a49

View File

@ -31,6 +31,8 @@ void TestProfile::init()
QCoreApplication::setOrganizationName("Subsurface");
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
QCoreApplication::setApplicationName("Subsurface");
setlocale(LC_ALL, "C");
}
void TestProfile::testProfileExport()
{