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:
parent
405399a091
commit
e0f71f1a49
@ -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()
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user