mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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
845ac82b57
commit
7aefd704c2
1 changed files with 2 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ void TestProfile::init()
|
|||
QCoreApplication::setOrganizationName("Subsurface");
|
||||
QCoreApplication::setOrganizationDomain("subsurface.hohndel.org");
|
||||
QCoreApplication::setApplicationName("Subsurface");
|
||||
|
||||
setlocale(LC_ALL, "C");
|
||||
}
|
||||
void TestProfile::testProfileExport()
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue