Commit 141fd308 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix autotest in lang != C

parent 468cc453
Pipeline #26897 passed with stage
in 8 minutes and 46 seconds
...@@ -3,6 +3,16 @@ ...@@ -3,6 +3,16 @@
#include <QDebug> #include <QDebug>
using namespace KMime; using namespace KMime;
#ifndef Q_OS_WIN
void initLocale()
{
setenv("LC_ALL", "en_US.utf-8", 1);
setenv("TZ", "UTC", 1);
}
Q_CONSTRUCTOR_FUNCTION(initLocale)
#endif
int int
main() main()
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment