Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
KItinerary
Commits
0a2aca98
Commit
0a2aca98
authored
Mar 21, 2021
by
Volker Krause
Browse files
Force locale/timezone on this test
The reference data depends on that, so this should improve results on the CI.
parent
cec69512
Pipeline
#55134
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
autotests/extractorscriptenginetest.cpp
View file @
0a2aca98
...
...
@@ -23,6 +23,14 @@ using namespace KItinerary;
#define s(x) QStringLiteral(x)
void
initLocale
()
{
qputenv
(
"LC_ALL"
,
"en_US.utf-8"
);
qputenv
(
"TZ"
,
"Europe/Brussels"
);
}
Q_CONSTRUCTOR_FUNCTION
(
initLocale
)
static
void
expandRecursive
(
ExtractorDocumentNode
&
node
,
const
ExtractorEngine
*
engine
)
{
if
(
node
.
isNull
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment